This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem Building 32-bit gcc native compiler


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]