This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

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


  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


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