home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / softsys / andrew / 1098 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.soft-sys.andrew
  2. Path: sparky!uunet!darwin.sura.net!convex!convex!datri
  3. From: datri@convex.com (Anthony A. Datri)
  4. Subject: Superfluous -pic compilations?
  5. Message-ID: <1992Jul24.015941.286@news.eng.convex.com>
  6. Sender: usenet@news.eng.convex.com (news access account)
  7. Nntp-Posting-Host: lovecraft.convex.com
  8. Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
  9. Date: Fri, 24 Jul 1992 01:59:41 GMT
  10. X-Disclaimer: This message was written by a user at CONVEX Computer
  11.               Corp. The opinions expressed are those of the user and
  12.               not necessarily those of CONVEX.
  13. Lines: 19
  14.  
  15.  
  16. I'm rebuilding 5.1 on a Sun 4/75 running 4.1.1 with the bundled compiler.
  17. It seems that each C file gets compiled twice -- once with -pic and once
  18. without:
  19.  
  20. cc -pic -c  -O4 /usr/lib/libm.il -I.  -I/usr/andrew/include/atk
  21.      -I/usr/andrew/include -I/usr/include   tabio.c
  22. mv tabio.o shared/tabio.o
  23. cc -c  -O4 /usr/lib/libm.il -I.  -I/usr/andrew/include/atk
  24.      -I/usr/andrew/include -I/usr/include   tabio.c
  25. ...
  26. /usr/andrew/bin/makedo  -d /usr/andrew/lib -b /usr/andrew/bin -s -o table.do
  27.       table.o eval.o tabio.o funs.o    -lm 
  28.  
  29.  
  30. If only the non-pic object is used, why bother compiling with -pic too?
  31. -- 
  32.  
  33. ======================================================================8--<
  34.