Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Raptorfan" <raptorfan@earthlink.net>
Subject: Re: Building GCC 3.0 on Tru64 5.0
Date: Sat, 4 Aug 2001 10:31:08 -0400	[thread overview]
Message-ID: <tmo1peasa93827@corp.supernews.com> (raw)
In-Reply-To: 9jorg9$9v9$1@sun.rhrk.uni-kl.de

After fighting with GCC compilation on a few boxes at work (2100 & my
desktop 500/333) for a few months, I FINALLY got GCC3.0 to build. The two
things I did (keeping in mind I've admin-ed Tru64 for only ~7 months now):

- build gcc outside it's source tree. I could never get far building it
within it's source tree (tar xvf gcc*; mkdir foo; cd foo;
../gcc-3.0/configure <options> )

- in many places I've seen mention the 5.x assembler does things differently
than the 4.x one.. so you force the assembler to old behavior using
the -oldas option. Best way I saw this implemented was a shell script that
was basically (sorry, at home so I don't have the exact script):

#!/bin/ksh
# i think as is in /usr/bin but as I'm not on the box now I'm not saying for
sure
# the @* may also be $*; I'm having a brain fart right now
<path_to_as>/as -oldas @*

.. then setting --with-as=<as_shellscript> with configure.

- Binutils v2.11.2 is out there: build and install this first. I dunno why,
I dunno what it does, but after building and making this availabe to gcc's
configure my gcc FINALLY bootstrapped.

- it will take a while (it took around an hour on our quad-processor 300mhz
2100 with gmake -j 4). patience, grasshopper.

I'm now fighting with dejagnu building so I can run the gcc testsuite and
see what actually works vs. what may still be hosed, but I appear to have a
'mostly-functional' gcc-3.0. I say 'mostly functional' because the app I
really want to build (ddd) still bombs with the c++ compiler, but I haven't
made it that far yet.

Oh, if it matters.. I'm doing this all on 5.1 and with the cc (installed the
DEC-built gcc but it didn't work either), but what I've gathered all the 5.x
variants have similar types of issues. Of course, gcc built fine the first
time on my IRIX box. :/

-r




  parent reply	other threads:[~2001-08-04 14:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-26 10:30 Building GCC 3.0 on Tru64 5.0 Thomas Weber
2001-07-26 23:56 ` Tobias Ernst
2001-07-27 16:45   ` Thomas Weber
2001-07-28 10:25     ` Tobias Ernst
2001-08-04 14:31 ` Raptorfan [this message]
2001-08-06 10:04   ` LEUNGH2
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox