Newsgroups: comp.sys.apollo
Path: utzoo!utgpu!news-server.csri.toronto.edu!news-server.ecf!aerostr
From: aerostr@bullet.ecf.toronto.edu (W. Graham Elliott)
Subject: Difference between Unix ld and Aegis bind commands.
Message-ID: <1991May1.035524.7904@bullet.ecf.toronto.edu>
Organization: University of Toronto, Engineering Computing Facility
Date: Wed, 1 May 91 03:55:24 GMT

We have recently noticed a big difference in the size of files
created with the ld or bind commands.  For a simple Fortran program,
which we used for testing, the Aegis bind command produced an
executable file about 1.5 kB in size.  The corresponding ld command
produced a 22kB file.  For a much larger program the difference was
850 kB vs. 7,500 kB!

What is in the reason for the difference in the file sizes?  
Does it have something to do with the shared libraries?
Are we missing something with ld?

Some specifics:  Domain OS SR 10.2,  Aegis & BSD 4.3
                 
Sequence:    Aegis                    BSD
          ftn foo.ftn -b foo.bin    f77 foo.ftn -c -b foo.o
          bind foo.bin -b foo       f77 foo.bin -o foo

Incidentally, it is irrelevent whether the source is compiled
with ftn or f77.  Also, both executables created by bind and 
ld function correctly.

Thank-you, in advance.
Graham.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Graham Elliott                      aerostr@bullet.ecf.utoronto.ca
Institute for Aerospace Studies     graham.elliott@canrem.UUCP
University of Toronto, Canada

