From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,fd84f79825ccc147 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-08-06 06:42:20 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!btnet-peer1!btnet-feed5!btnet!bt !pc7221.btlabs.bt.co.uk!LEUNGH2 From: LEUNGH2@pc7221.btlabs.bt.co.uk () Newsgroups: comp.unix.tru64 Subject: Re: Building GCC 3.0 on Tru64 5.0 Date: 6 Aug 2001 10:04:39 GMT Organization: BT Message-ID: <9klq3n$45g$1@pheidippides.axion.bt.co.uk> References: <9jorg9$9v9$1@sun.rhrk.uni-kl.de> Reply-To: hin-tak DOT leung AT idl-bt DOT com NNTP-Posting-Host: 132.146.63.42 X-Trace: pheidippides.axion.bt.co.uk 997092279 4272 132.146.63.42 (6 Aug 2001 10:04:39 GMT) X-Complaints-To: postmaster@axion.bt.co.uk NNTP-Posting-Date: 6 Aug 2001 10:04:39 GMT X-Newsreader: xrn 9.02 Xref: archiver1.google.com comp.unix.tru64:4093 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 , "Raptorfan" 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 ) > >- 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 >/as -oldas @* > >.. then setting --with-as= 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 > >