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]

as: unrecognized option `-mdebug`


I am trying to make crossgcc with --target=mips-ecoff under cygwin 1.5 (WIN2000).

I firstly configured the binutils 2.13 as the followings:

 ../configure --target=mips-ecoff --prefix=/cygdrive/c/cygwin/usr/local/mips-ecoff

then i made and installed it

Secondly i tried to build bootstrap crossgcc(gcc-3.3) for mips-ecoff:

$ ../configure --target=mips-ecoff --prefix=/cygdrive/c/cygwin/usr/local/mips-ecoff --without-headers --with-newlib  --enable-languages=c --disable-shared --disable-threads

$ make

then the following error message appered on screen:

/cygdrive/d/software/gcc/gcc-3.3/objdir-mips-ecoff/gcc/xgcc -B/cygdrive/d/softwa
re/gcc/gcc-3.3/objdir-mips-ecoff/gcc/ -B/cygdrive/c/cygwin/usr/local/mips-ecoff/
mips-ecoff/bin/ -B/cygdrive/c/cygwin/usr/local/mips-ecoff/mips-ecoff/lib/ -isyst
em /cygdrive/c/cygwin/usr/local/mips-ecoff/mips-ecoff/include -O2  -DIN_GCC -DCR
OSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-isystem ./include  -G 0 -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_lib
c -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include -D
L_m16addsf3 -xassembler-with-cpp -c ../../gcc/config/mips/mips16.S -o libgcc/./_
m16addsf3.o
/cygdrive/c/cygwin/usr/local/mips-ecoff/mips-ecoff/bin/as: unrecognized option `
-mdebug'
make[2]: *** [libgcc/./_m16addsf3.o] Error 1
make[2]: Leaving directory `/cygdrive/d/software/gcc/gcc-3.3/objdir-mips-ecoff/g
cc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/cygdrive/d/software/gcc/gcc-3.3/objdir-mips-ecoff/g
cc'
make: *** [all-gcc] Error 2

I don't know why such message showed. In fact i can't find the option '-mdebug' in the command xgcc but how this option is added? And more i am sure the assembler activated by xgcc is the assembler built in the first step.

Could anyone give me any advice?

Stanley Zhang


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