Nasty 4.3 change to cc(1)

rs at mirror.UUCP rs at mirror.UUCP
Wed Aug 6 01:48:00 AEST 1986



] "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!"



More information about the Comp.bugs.4bsd.ucb-fixes mailing list