home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v22 / 077 / text0000.txt < prev   
Encoding:
Text File  |  1991-03-07  |  771 b   |  21 lines

  1. Submitted-by: dik@cwi.nl (Dik T. Winter)
  2.  
  3. As I do not have access to any of the current or forthcoming standards, I ask
  4. this question here.  Is it defined anywhere what the behaviour of the loader
  5. is in the load step with respect to libraries?  Especially is there any
  6. difference between a full path specification of the library or a short hand
  7. specification using -l?  I ask because I encountered a system that showed a
  8. marked difference between:
  9.     cc foo.c /usr/lib/libm.a
  10. and:
  11.     cc foo.c -lm
  12. In the first case the complete library is linked into the object module,
  13. in the second only the routines needed are linked in.
  14. Does any standard say something about this (SVID, Posix)?
  15. --
  16. dik t. winter, cwi, amsterdam, nederland
  17. dik@cwi.nl
  18.  
  19. Volume-Number: Volume 22, Number 77
  20.  
  21.