Date: Sun, 23 Jun 1996 23:57:05 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: grog@lemis.de (Greg Lehey) Cc: uh@NU.cs.fsu.edu, FreeBSD-current@FreeBSD.org Subject: Re: make fails Message-ID: <199606240657.XAA27332@phaeton.artisoft.com> In-Reply-To: <199606230834.KAA07187@allegro.lemis.de> from "Greg Lehey" at Jun 23, 96 10:34:27 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > cc -O -c /usr/src/usr.bin/lex/lib/libmain.c -o libmain.o > > ld: invalid command option `-O' > > *** Error code 1 > > Fascinating. For some non-evident reason, cc has decided to invoke > the loader instead of the compiler. I can't see any good reason for > that, but why not expiriment: change to directory lib, and issue the > command manually. In particular, I'd like to see the output of: > > cc -v -O -c /usr/src/usr.bin/lex/lib/libmain.c -o libmain.o > > and > > cc -v -O -c /usr/src/usr.bin/lex/lib/libmain.c > > The -v option prints out exact information about the passes that cc > starts, and the -o libmain.o is superfluous (though I suspect it has > something to do with this problem). I thought this was expected behaviour for a single .c file without a -C? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606240657.XAA27332>