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]

Code error: unrecognized option `-no-mdebug'


Hi all,

I need to build a cross compiler for mips-tx39
plataform.   I configured the gcc as follows:

/src/gcc/gcc-3.4.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

Then, when I performed the Make utility as follows:

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

I got the following error:

mkdir -p -- libgcc
if [ -f stmp-dirs ]; then true; else touch stmp-dirs;
fi
/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
/tools/H-i686-pc-linux-gnu/mips-tx39-elf/bin/as:
unrecognized option `-no-mdebug'
make[2]: *** [libgcc/./_m16addsf3.o] Error 1
make[2]: Leaving directory `/tmp/build/gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'

Can anybody help me out?
Regards,
Marcos
  


	
	
		
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/

------
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]