Question about egcs building w/native compiler

Jeffrey A Law law@cygnus.com
Wed Jan 14 04:17:00 GMT 1998


  In message < 0010D0CC.3227@ccmail.arinc.com >you write:
  >      Jeff:
  >      
  >      Thanks for you input.  This is what the final results were:
  >      
  >      ./configure
  >      make bootstrap
  >      ...
  >      ...
  >      // stage 1 apparently completes fine
  >      // starts building stage 2 with stage1/xgcc
  >      stage1/xgcc -c *.c  // this goes well not the exact command, of course
  >      // but then it tries to link w/cc
  >      
  >      cc -o genattr genattr.o alloca.o // and some other .o's
  >      
  >      This fails.
OK.  I think we've pinpointed the problem.

It shouldn't be using "cc" at all during stage2.  We've seen this happen
with certain versions of gnu make on aix.  What version of gnu make
are you using?

http://www.cygnus.com/egcs/install/specific.html

[ ... ]
rs6000-ibm-aix*
powerpc-ibm-aix*
At least one person as reported problems with older versions of gnu-make on this platform.
make-3.76 is reported to work correctly. 



  >      There was one thing I was a little surpised about.  I think it 
  >      probably is an old "problem."  gcc invoked without files, issues the 
  >      message: "gcc: No input files" g++ invoked without files, attempts to 
  >      link and then the linker provides an error (of course).  No crashes or
Yea, it's a know problem with "g++" and "g77".

jeff



More information about the Gcc mailing list