Thread View: pe.cust.general
2 messages
2 total messages
Started by David Sherman
Tue, 12 Feb 1985 18:07
forget about the -O option to cc
Author: David Sherman
Date: Tue, 12 Feb 1985 18:07
Date: Tue, 12 Feb 1985 18:07
13 lines
885 bytes
885 bytes
Remember my inquiry as to what effect cc -O has under
Edition VII, since the manual says it's not implemented
but /lib/c2 exists? Well, I noticed that /lib/c2 has two links,
and ncheck reveals it's a link to /bin/cp. Cute.
So, using the -O option to cc does nothing except slow the
compile down by the time it takes to copy the object module
over once with cp.
David Sherman
--
{utzoo pesnta nrcaero utcs}!lsuc!dave
{allegra decvax ihnp4 linus}!utcsrgv!lsuc!dave
Re: forget about the -O option to cc
Author: Earl Wallace
Date: Wed, 13 Feb 1985 04:21
Date: Wed, 13 Feb 1985 04:21
11 lines
1107 bytes
1107 bytes
I think the reason that the -O option exists at all is because it was a simple
matter to replace the optimizer program (c2) with a link to copy rather than
hack up the source code. Another thing you might want to watch out for is
the multiple defines caused by the SCCS headers in the /usr/include/* files.
I always do "cc -DNO_SCCS_ID -m" just to get around most of the errors. It
seems to help a lot.
--
Earl Wallace
UUCP: ..!{ihnp4, ucbvax!hplabs, ucbvax!twg}!pesnta!earlw
PHONE: (408) 727-5540 x230
USMAIL: Perkin-Elmer Corp., Santa Clara, Calif. 95054
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads