dave@lsuc.UUCP (David Sherman) (02/13/85)
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
earlw@pesnta.UUCP (Earl Wallace) (02/13/85)
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