From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,6a5574c972b6a54 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-06-06 11:37:30 PST Sender: ro@xayide.TechFak.Uni-Bielefeld.DE Newsgroups: comp.unix.tru64 Subject: Re: Compaq C & gcc References: <9fgt57$97q8$1@alpha3305-lc.lonestar.it> <991734380@f1.n7600.z242.fido.de> <9flje2$g6i$1@news.ndsu.nodak.edu> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Rainer Orth Date: 06 Jun 2001 20:37:26 +0200 Message-ID: Organization: Faculty of Technology, Bielefeld University X-Newsreader: Gnus v5.6.44/Emacs 19.34 NNTP-Posting-Host: xayide.techfak.uni-bielefeld.de X-Trace: 6 Jun 2001 20:37:28 MET, xayide.techfak.uni-bielefeld.de Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!fu-berlin.de!news.uni-bielefeld.de!xayide.techfak.uni-bielefeld.de Xref: archiver1.google.com comp.unix.tru64:2453 mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) writes: > This means that gcc can be built and used to just invoke the older assembler, > until the new one works with gcc (may even work now, if patch kit #3 is > installed -- I'm not sure). There are at least two ways you might get no, it doesn't: PK 3 contains adu 3.04.32 that still doesn't work correctly with gcc's mips-tfile. I've got a preliminary copy of 3.04.33 which does, but is has some other issues I need to work out with Compaq before it's ready to completely replace as -oldas. Right now I'm concentrating on making gcc work correctly with as -oldas, since this is what is publicly available at the moment. > this to work: > > 1) create a wrapper script named `as', make it executable, and just have > it exec the system `as' with the additional option to get the older assembler. > Make sure this is in gcc's build directory while building, and in the platform > tools directory after installation. Even simpler: either bootstrap with Compaq C, i.e. configure using CC=cc configure make bootstrap or, in case you have an old binary of gcc 2.95.3 built on V4.0x lying around, use CC='gcc -Wa,-oldas' configure make bootstrap instead. > 2) once gcc is installed, you might be able to get rid of the wrapper script > altogether. gcc uses (?) a file called `specs' that gets installed deep > under the lib/gcc-lib directory that has entries for how to invoke various > tools. There *might* be an entry for `as'. If you add the necessary flag > to get the old as, that *might* be all gcc needs, from that point on. It is (with some bugs in long double support still lurking), but I have patches pending for the upcoming GCC 3.0 to fully support Tru64 V5.1 in that release: http://gcc.gnu.org/ml/gcc-patches/2001-05/msg01951.html http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00281.html Regards. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Faculty of Technology, Bielefeld University Email: ro@TechFak.Uni-Bielefeld.DE