Built gcc 4.0.0, without C++ support
Rainer Orth
ro@TechFak.Uni-Bielefeld.DE
Mon Apr 25 10:35:00 GMT 2005
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> I recommend using GNU as and Sun ld. /usr/sfw/bin/as should be a suitable
> version of the GNU assembler, or try the 2.15.97 binutils snapshot (from
> ftp://gcc.gnu.org/pub/binutils/snapshots/) for an assembler which should
> also be sufficiently recent (soon to be released as 2.16); I don't know if
At least 2.15.96 gas didn't work for me with Sun ld: it failed building
libstdc++.so as Jeroen describes in a subsequent message.
> the 2.15 release is recent enough. The version of GCC distributed in
> /usr/sfw/bin is configured with
>
> --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld
> --without-gnu-ld --enable-languages=c,c++ --enable-shared
>
> which should be a configuration which works for 4.0.0 and mainline, as
> well as for csl-sol210-3_4-branch from which /usr/sfw/bin/gcc comes.
An unmodified gas from binutils 2.15 won't work since it doesn't support
x86_64. That's what the CSL-built /usr/sfw/bin/gas (slightly modified
version of gas 2.15) adds.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
More information about the Gcc
mailing list