Article View: gnu.gcc.bug
Article #391preventing -lang-c from being passed to cpp
From: Noah Friedman
Date: Tue, 14 Apr 1992 15:29
Date: Tue, 14 Apr 1992 15:29
14 lines
1173 bytes
1173 bytes
I would like to install older versions of gcc (e.g. 1.40) in the same
directory hierarchy that the 2.0+ programs are arranged in so that we can
run them by doing "gcc -V 1.40 foo.c". This seems to work just fine
(provided I rename some of the binaries) except that older versions of cpp
don't understand the -lang-c (and similar) arguments. I tried writing a
specs file to turn this off but I clearly don't understand what I'm doing
or it doesn't work at all, because I haven't figured out a way to do this.
Does anyone have any advice? I tried simply subsituting cpp 2.1 in
place of 1.40, but I got complaints like
foo.c:30: #-lines for entering and leaving files don't match
from cc1 (1.41)
Technical Details
Message-ID:
<9204141529.AA27455@nutrimat.gnu.ai.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!gnu.ai.mit.edu!friedmanShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!gnu.ai.mit.edu!friedman From: friedman@gnu.ai.mit.edu (Noah Friedman) Subject: preventing -lang-c from being passed to cpp Message-ID: <9204141529.AA27455@nutrimat.gnu.ai.mit.edu> Sender: gnulists@ai.mit.edu Reply-To: friedman@gnu.ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 14 Apr 1992 15:29:29 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 17