[ trouble building MIPS gcc on Linux pc]
Rogelio M.Serrano Jr.
rogelio@smsglobal.net
Tue Nov 11 05:07:00 GMT 2003
On 2003-11-11 11:04:36 +0800 Robert Trask <rtrask@earthlink.net> wrote:
>
>
> Hello,
> I'm trying to build a MIPS big-endian cross compiler for gcc ver
> 3.0.4 on a
> Linux pc (Intel cpu) using [native] gcc ver 3.2.
>
>
> I configure with the following:
> ./configure --target=mips-\*-linux-gnu
>
> OR
> ./configure --target=mipsbe-\*-linux-gnu
>
you need to specify --host and/or --build
> then just run make.
>
> In either case I get an error message:
> /export/home/bob/tools/gcc/gcc-3.0.4/gcc/xgcc
> -B/export/home/bob/tools/gcc/gcc-3.0.4/gcc/
> -B/usr/local/mips-*-linux-gnu/bin/ -B/usr/local/mips-*-linux-gnu/lib/
> -isystem /usr/local/mips-*-linux-gnu/include -DCROSS_COMPILE -DIN_GCC
> -W
> -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -isystem
> ./include -I. -I. -I. -I./. -I./config -I./../include -g0 \
> -finhibit-size-directive -fno-inline-functions \
> -fno-exceptions -Dinhibit_libc \
> -c ./crtstuff.c -DCRT_BEGIN -o crtbegin.o
> as: unrecognized option `-EB'
>
>
> It seems the big-endian option is being passed to the native
> assembler which
> chokes on it.
> What should I do differently? The same behavior occurs when I use an
> earlier
> [native] version of gcc.
>
> Any insights would be appreciated.
>
> Robert T. Trask
>
>
>
>
>
>
>
>
More information about the Gcc-help
mailing list