This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build code for mips-tx39 target


Marcos Peixoto wrote:
I would like to perform an application on mips
platform. I'm building the mips-tx39 cross-compiler. I
used this configuration:

/src/gcc/gcc-2.95.2/configure --target=mips-tx39-elf \
      --prefix=/tools \
      --exec-prefix=/tools/H-i686-pc-linux-gnu \
      --with-gnu-as --with-gnu-ld --with-newlib \
      -v 2>&1 | tee configure.out

In the next step:

    make -w all-gcc install-gcc \
      LANGUAGES="c c++" 2>&1 | tee make.out

then I get following error:

/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/ -B/tools/H-i686-pc-linux-gnu/mips-tx39-elf/bin/
-B/tools/H-i686-pc-linux-gnu/mips-tx39-elf/lib/
-isystem /tools/H-i686-pc-linux-gnu/mips-tx39-elf/include
-isystem /tools/H-i686-pc-linux-gnu/mips-tx39-elf/sys-include
-O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall
-Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem
./include  -G 0 -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/src/gcc/gcc-3.4.2/gcc -I/src/gcc/gcc-3.4.2/gcc/.
-I/src/gcc/gcc-3.4.2/gcc/../include  -DL_m16addsf3
-xassembler-with-cpp -c
/src/gcc/gcc-3.4.2/gcc/config/mips/mips16.S -o
libgcc/./_m16addsf3.o
as: unrecognized option `-G'

Try putting the right binutils in the PATH before running configure. It might be trying to use your workstation's native 'as'. - Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]