Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Subject: Re: Compaq C & gcc
Date: 06 Jun 2001 20:37:26 +0200	[thread overview]
Message-ID: <yddr8wx78ux.fsf@xayide.TechFak.Uni-Bielefeld.DE> (raw)
In-Reply-To: 9flje2$g6i$1@news.ndsu.nodak.edu

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


  reply	other threads:[~2001-06-06 18:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-04 21:13 Compaq C & gcc LoneStar
2001-06-05  8:43 ` Tobias Ernst
2001-06-06 15:49   ` Tim Mooney
2001-06-06 18:37     ` Rainer Orth [this message]
2001-06-06 22:28     ` Mumit Khan
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