Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: axp-list@redhat.com
Subject: Re: upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations
Date: Tue, 11 Jan 2000 15:42:43 +0300	[thread overview]
Message-ID: <20000111154243.A15907@jurassic.park.msu.ru> (raw)
In-Reply-To: <200001101143.GAA01912@neptune.phys.ufl.edu>; from prescott@phys.ufl.edu on Mon, Jan 10, 2000 at 06:43:57AM -0500

On Mon, Jan 10, 2000 at 06:43:57AM -0500, Craig P Prescott wrote:
> I ran into the same problem when I grabbed the gcc-2.95.2-3 source rpm

These rpms are broken.

> You can solve this problem by building gcc-2.95.2 from the tarball.
> When you build gcc-2.95 from the tarball, it puts cpp in
> "--prefix"/bin and everything just works.  And you can make a link

Actually, there are two different cpp executables - one in
"--prefix"/lib/gcc-lib/${ARCH}-${VENDOR}-linux/2.95.2 and another
in "--prefix"/bin, which is the one what we need and which is missing
in rpms. The former is intended for gcc internal use only.

Fix is quite easy - just add %{GCC_PREFIX}/bin/cpp in %files section
for cpp package in the gcc.spec and point the link /lib/cpp to correct
executable, although I think this link isn't really needed - I happily
live without it last few months.

Or grab working gcc-2.95.2 rpms I built for myself from
ftp://ftp.park.msu.ru/ink/rh6.1-rpms (BTW, rth's float-complex patch
is included there, so you can compile glibc with it, although
only with -O2).

Ivan.


  parent reply	other threads:[~2000-01-11 12:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-09 21:10 upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations Stefan van der Eijk
2000-01-10  8:33 ` Christian Iseli
2000-01-10 11:43 ` Craig P Prescott
2000-01-10 17:38   ` Stefan van der Eijk
2000-01-11  6:34     ` Stefan van der Eijk
2000-01-11  7:17       ` upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and Michal Jaegermann
2000-01-11 12:42   ` Ivan Kokshaysky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-01-09 21:30 upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations Designer Seven
2000-01-09 23:41 ` Michal Jaegermann
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