public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem Building Stage 3 / AIX 5.1, Visual Age C 5.0.2
@ 2002-10-16 15:17 cjs 2895
  2002-10-24 14:53 ` David Edelsohn
  0 siblings, 1 reply; 2+ messages in thread
From: cjs 2895 @ 2002-10-16 15:17 UTC (permalink / raw)
  To: gcc-help

Folks,

I'm trying to build GCC 3.2 under AIX 5.1 with Visual Age C 5.0.2.0 as the 
bootstrap compiler.

I've managed to get the first two stages of of GCC to build successfully 
(I'm using GNU as and ld, and I had to make a couple typecasts in tradcif.y) 
but when I get to stage 3 I'm getting stuck in the configure scripts -- each 
item that causes configure to run the compiler takes ~2 minutes to complete. 
At this speed it will take ~12 hours for configure to complete before the 
stage 3 build starts. Its almost as if when the stage 2 compiler is invoked, 
it sleeps for two minutes before executing -- but If I invoke the stage 2 
compiler directly I can not reprproduce this behavior. Can anyone think of 
what could possibly be causing this? Please reply in private and I'll post a 
summary at a later date. The steps I've used to get to this point are as 
follows:

wget -nd -nH -c -t 0 -w 1 http://ftp.gnu.org/gnu/gcc/gcc-3.2/gcc-3.2.tar.gz
wget -nd -nH -c -t 0 -w 1 
http://ftp.gnu.org/gnu/binutils/binutils-2.13.tar.bz2
gtar -xvzf gcc-3.2.tar.gz
gtar --use-compress-program=bunzip2 -xvf binutils-2.13.tar.bz2
cd gcc-3.2
ln -s ../binutils-2.13 binutils
CC=cc ./configure --enable-languages=c,c++ --disable-nls --with-gnu-as 
--with-gnu-ld --with-gnu-nm
gmake bootstrap



_________________________________________________________________
Get faster connections -- switch to MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem Building Stage 3 / AIX 5.1, Visual Age C 5.0.2
  2002-10-16 15:17 Problem Building Stage 3 / AIX 5.1, Visual Age C 5.0.2 cjs 2895
@ 2002-10-24 14:53 ` David Edelsohn
  0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 2002-10-24 14:53 UTC (permalink / raw)
  To: cjs 2895; +Cc: gcc-help

	I would recommend that you use the default AIX assembler, linker,
and nm, ar, etc. instead of the GNU Assembler, GNU Linker, and GNU
Binutils.  This is mentioned in the platform-specific installation notes.

	Configure will not be invoked between each build stage.  Configure
is run manually before the compiler is built and the building process runs
configure for the various target libraries, but that is not Stage 3.  If
you are referring to configure to build libraries, you can speed this up
by using GNU Bash shell instead of /bin/sh.

make SHELL=/usr/local/bin/bash CONFIG_SHELL=/usr/local/bin/bash ...

David

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-24 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-16 15:17 Problem Building Stage 3 / AIX 5.1, Visual Age C 5.0.2 cjs 2895
2002-10-24 14:53 ` David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).