bulding libgcc1.a fails for 970917-snapshot ...

Jeffrey A Law law@cygnus.com
Sun Sep 21 14:15:00 GMT 1997


  In message < 9709211342.AA25437@drfmc.ceng.cea.fr >you write:
  > $gcc -v -DIN_LIBGCC1 -O -I. -I. -I./config -c -DL_mulsi3 ./libgcc1.c
  > Reading specs from ./specs
  > gcc version 2.7.2.1
This indicates that gcc is picking up the wrong specs file.  We
run into this enough that it's probably worth an FAQ mention.

This usually happens because you have either an explicit "dot"
in some environment variable or an implicit one.  See

http://www.cygnus.com/ml/egcs/1997-Sep/0686.html

In the egcs mail archives for a short discussion of explicit . vs
implicit . in environment variable paths.

I'd look at PATH and GCC_EXEC_PREFIX first, those would be
the most likely environment variables which could make gcc
mis-behave in the manner you've seen.

Jeff



More information about the Gcc mailing list