------- Comment #5 from acornejo at gmail dot com  2007-12-12 23:43 -------
I have a similar bug, so I am posting here (otherwise I can open a new bug).

I run:
./configure --target=mipsel-semb-elf --prefix=/scratch/semb/semb/
--disable-libssp --with-newlib --enable-languages=c --disable-threads
--disable-shared --without-include-headers

Then make fails with the following:

          MULTILIB_CFLAGS="" T= crtbegin.o crtend.o crti.o crtn.o
make[4]: Entering directory
`/scratch/semb/gcc-4.2.2/host-i686-pc-linux-gnu/gcc'
/scratch/semb/gcc-4.2.2/host-i686-pc-linux-gnu/gcc/xgcc
-B/scratch/semb/gcc-4.2.2/host-i686-pc-linux-gnu/gcc/
-B/scratch/semb/semb//mipsel-semb-elf/bin/
-B/scratch/semb/semb//mipsel-semb-elf/lib/ -isystem
/scratch/semb/semb//mipsel-semb-elf/include -isystem
/scratch/semb/semb//mipsel-semb-elf/sys-include -O2 -O2 -g -O2  -DIN_GCC
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I.
-I../.././gcc -I../.././gcc/. -I../.././gcc/../include
-I../.././gcc/../libcpp/include  -I../.././gcc/../libdecnumber
-I../libdecnumber  -g0 -finhibit-size-directive -fno-inline-functions
-fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder
-Dinhibit_libc -G 0 \
          -c ../.././gcc/crtstuff.c -DCRT_BEGIN \
          -o crtbegin.o
exec: 2: -G: not found
make[4]: *** [crtbegin.o] Error 1


I am running on Ubuntu (in case that maters). This seems to be a bug, since
this command runs properly on gcc-4.1 (just downloaded a fresh copy and tested
it).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32101

Reply via email to