Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: LEUNGH2@pc7221.btlabs.bt.co.uk ()
Subject: Re: Building GCC 3.0 on Tru64 5.0
Date: 6 Aug 2001 10:04:39 GMT	[thread overview]
Message-ID: <9klq3n$45g$1@pheidippides.axion.bt.co.uk> (raw)
In-Reply-To: tmo1peasa93827@corp.supernews.com

Didn't you read the INSTALL file? It did say 
(1) don't build gcc inside the source tree - do "( mkdir objdir; cd objdir;
../configure ...)" rather than just "./configure".
(2) if you are using a non-gcc compiler (like you are using DEC's cc) 
to build gcc, do "make bootstrap" or even "make bootstrap4" (the former 
does a 3-stage bootstrap, the 2nd does a 4 stage bootstrap).  

In article <tmo1peasa93827@corp.supernews.com>,
 "Raptorfan" <raptorfan@earthlink.net> writes:
>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
>
>


      reply	other threads:[~2001-08-06 10:04 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
2001-08-06 10:04   ` LEUNGH2 [this message]
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