home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.soft-sys.andrew
- Path: sparky!uunet!darwin.sura.net!convex!convex!datri
- From: datri@convex.com (Anthony A. Datri)
- Subject: Superfluous -pic compilations?
- Message-ID: <1992Jul24.015941.286@news.eng.convex.com>
- Sender: usenet@news.eng.convex.com (news access account)
- Nntp-Posting-Host: lovecraft.convex.com
- Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
- Date: Fri, 24 Jul 1992 01:59:41 GMT
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
- Lines: 19
-
-
- I'm rebuilding 5.1 on a Sun 4/75 running 4.1.1 with the bundled compiler.
- It seems that each C file gets compiled twice -- once with -pic and once
- without:
-
- cc -pic -c -O4 /usr/lib/libm.il -I. -I/usr/andrew/include/atk
- -I/usr/andrew/include -I/usr/include tabio.c
- mv tabio.o shared/tabio.o
- cc -c -O4 /usr/lib/libm.il -I. -I/usr/andrew/include/atk
- -I/usr/andrew/include -I/usr/include tabio.c
- ...
- /usr/andrew/bin/makedo -d /usr/andrew/lib -b /usr/andrew/bin -s -o table.do
- table.o eval.o tabio.o funs.o -lm
-
-
- If only the non-pic object is used, why bother compiling with -pic too?
- --
-
- ======================================================================8--<
-