failed compiling egcs (x86-linux)

Jeffrey A Law law@cygnus.com
Wed Dec 17 14:26:00 GMT 1997


  In message < XFMail.971217183151.lschmidt@ix.urz.uni-heidelberg.de >you write:
  >   gcc  -DIN_GCC   -DUSE_GNULIBC_1 -g  -DHAVE_CONFIG_H     -I. -I../../../eg
  > cs/gc
  >   c -I../../../egcs/gcc/config  \
  >   -DTARGET_MACHINE=\"i586-pc-linux-gnulibc1\"  \
  >   -c `echo ../../../egcs/gcc/collect2.c | sed 's,^\./,,'`
  >   cpp: Usage: /usr/lib/gcc-lib/i486-linux/2.7.2.1/cpp [switches] input outp
  > ut
  >   make: *** [collect2.o] Error 1 
  > 
  > I have gcc-2.7.2.1 and binutils-2.8.1.0.18; I found nothing apropriate 
  > in the FAQ or in the mailing list archive. Has anyone a clue what I 
  > am doing wrong? Or if not, is there a version of egcs precompiled for
  > Linux anywhere? 
What environment variables do you have set?

You might be able to diagnose this problem by going into the gcc object
directory and adding "-v" to the above line -- doing so might give us some
hints about what going wrong.
jeff



More information about the Gcc-bugs mailing list