Question about egcs building w/native compiler

nnorwitz@arinc.com nnorwitz@arinc.com
Tue Jan 6 15:05:00 GMT 1998


     Hello!
     
     I'm trying to build the egcs compiler with the native cc (xlc) 
     compiler on an IBM AIX 4.2 box.
     
     I did a plain ./configure, then built with make bootstrap.
     It gets pretty far (builds stage1, but can't build stage2), but 
     eventually (in stage2) still tries to compile the fortran src.
     
     I don't have gcc on the machine and would like to build only the egcs 
     compiler (I'd rather try egcs than gcc, since I will probably only do 
     one).
     
     I had another problem which I solved.  xlc needs an -ma flag to handle 
     alloca() properly.  It would also work with a #pragma in the code, but 
     that's a pain.  After adding the -ma flag it worked fine.  That should 
     probably go in the configuration setup.
     
     Is there an easy way to get around the fortran problem?
     
     Thanks,
     Neal



More information about the Gcc mailing list