This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Problem Building 32-bit gcc native compiler
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: "Bell, Timothy" <timothy dot bell at intergraph dot com>, gcc-help at gcc dot gnu dot org
- Date: Tue, 19 Jul 2005 17:31:52 -0500
- Subject: RE: Problem Building 32-bit gcc native compiler
- References: <697750C28DC0474ABF279ECB3979E3730C01CC1D@hq4.pcmail.ingr.com>
Hi Tim,
Are you short on disk space? If not, what does...
make bootstrap
...do?
When I built (GCC 3.4.3), I used the trick of narrowly specifying my PATH...
PATH=/net/export/share/gcc-3.2/bin:/bin:/usr/bin make -j 4 CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean
...which worked well for me. Avoided some undesirable interactions with Solaris's compiler. I haven't tried to build GCC 4.0 from scratch yet, though.
Oh, and my configure was...
PATH=/net/export/share/gcc-3.2/bin:/bin:/usr/bin \
/export/eljay/gcc-3.4.3/configure \
--prefix=/export/eljay/gcc34 \
--enable-languages=c,c++ \
--with-gnu-as \
--with-as=/net/export/share/gcc-3.2/bin/as \
--with-gnu-ld \
--with-ld=/net/export/share/gcc-3.2/bin/ld \
--enable-threads \
--enable-shared \
--disable-symvers \
--disable-__cxa_atexit
...which has some Solaris-isms in there. But just as an FYI, I thought I'd pass it along.
--Eljay
reference...
http://gnu.miscellaneousmirror.org/software/gcc/gcc-4.0/buildstat.html