From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 25675 invoked from network); 11 Jan 2000 12:42:54 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 11 Jan 2000 12:42:54 -0000 Received: from jurassic.park.msu.ru (jurassic.park.msu.ru [195.208.223.243]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id HAA22717 for ; Tue, 11 Jan 2000 07:42:52 -0500 Received: (from ink@localhost) by jurassic.park.msu.ru (8.9.3/8.9.3) id PAA16082 for axp-list@redhat.com; Tue, 11 Jan 2000 15:42:43 +0300 Date: Tue, 11 Jan 2000 15:42:43 +0300 From: Ivan Kokshaysky To: axp-list@redhat.com Subject: Re: upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations Message-ID: <20000111154243.A15907@jurassic.park.msu.ru> References: <3878F956.D99B9540@chello.nl> <200001101143.GAA01912@neptune.phys.ufl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i 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.