Article View: net.bugs.4bsd
Article #1619Re: Nasty 4.3 change to cc(1)
From: rs
Date: Tue, 05 Aug 1986 15:48
Date: Tue, 05 Aug 1986 15:48
18 lines
1124 bytes
1124 bytes
] "cc -o foo -c blah.c" now creates foo, instead of "blah.o"
HURRAH! Justification? I have source I want to conditionally-compile,
and I don't want to play games in my Makefile:
.c.o: ; $(CC) $(CFLAGS) $<
.c.do: ; $(CC) -DDEBUG $(CFLAGS) -o $@ $<
The old way "-o is ignored if -c is specified" is inconsistent; the new
way "-o specifies the output file name" is reasonable, sensible, and
orthogonal.
----
Rich $alz {mit-eddie, ihnp4, wjh12, cca, cbosgd, seismo}!mirror!rs
Mirror Systems 2067 Massachusetts Avenue Cambridge, MA 02140
Telephone: 617-661-0777
"Hi, mom!"
Technical Details
Message-ID:
<75500002@mirror>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!caip!pyrnj!mirror!rsReferences:
<377@curly.ucla-cs.ARPA>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!caip!pyrnj!mirror!rs From: rs@mirror.UUCP Newsgroups: net.bugs.4bsd Subject: Re: Nasty 4.3 change to cc(1) Message-ID: <75500002@mirror> Date: Tue, 5-Aug-86 11:48:00 EDT Article-I.D.: mirror.75500002 Posted: Tue Aug 5 11:48:00 1986 Date-Received: Wed, 6-Aug-86 02:23:30 EDT References: <377@curly.ucla-cs.ARPA> Lines: 18 Nf-ID: #R:curly.ucla-cs.ARPA:-37700:mirror:75500002:000:579 Nf-From: mirror.UUCP!rs Aug 5 11:48:00 1986