[3166] in Kerberos
LIbraries usage
daemon@ATHENA.MIT.EDU (Charles L. Athey III)
Fri Apr 22 20:39:57 1994
Date: Fri, 22 Apr 94 17:22:52 PDT
From: athey@lorien.ocf.llnl.gov (Charles L. Athey III)
To: tytso@MIT.EDU
Cc: kerberos@MIT.EDU
Ted,
Do you know why the kerberos libraries in the Project.tmpl file
are specified as
KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB)
SSLIB = $(TOPLIBD)/libss.a
...
instead of:
KLIB = $(KLIBLOC) -l$(KRB5LIB) -l(DESLIB) -$(ISODELIB) $(COMERRLIB) $(DBMLIB)
SSLIB = -L$(TOPLIBD) -lss.a
...
By using the former the -entire- library is loaded versus just the routines
that are needed on some platforms causing a great difference in executable
size.