--with-gnu-as mistake on solaris

Allan Sandfeld Jensen snowwolf@one2one-networks.com
Thu Mar 14 12:28:00 GMT 2002


Hi
I just tried configuring and building gcc-3.1 on a solaris using CFLAGS='-g 
-O2 -mcpu=supersparc -mtune=ultrasparc'. 
configure died in libstdc++ , when the newly build gcc broke when given the 
-mcpu=supersparc. The error message indicated gcc had given gnu-as a 
-xarch=v8 flag. Now that would had been ok if I hadent supplied configure 
with both the path to gas and a --with-gnu-as flag. Someone, it seems have 
been a little too hasty teaching gcc about solaris-as, and forgotten gnu-as.

On the other hand I can report succesfull builds of gcc and g++ 3.1 on 
linux, alpha and hpux :-) (all using gcc 2.95.2 but various linkers and 
assemblers)

greetings
'Allan



More information about the Gcc mailing list