[net.micro] CP/M linker help needed

larry (11/24/82)

	I just got the Aztec CP/m C-compiler.  Seems like a fairly nice
package.  However, the linker that comes with it suffers a little-- when
it comes to libraries.  Libraries are made of ".o" files each made from
any number of functions.  When the linker finds a need for a function,
ALL the functions from the original .o file are loaded into the output
file.  This obviously makes the linker simpiler since it doesn't need to
re-scan libraries -- it does tend to make the output file larger than
necessary (unless you are VERY careful about what you put in the lib). 
I thought there might be hope for the Microsoft M80/L80 (since comiler
will work with this pair too)  --L80 does exactly the same thing!!

	I suppose I could go in and break the library up into tiny
pieces of ".o" files --but-- does anybody know how the "plink 2" linker
works?  Does it have function resolution?  I've also heard that it
handles many different formats of input files (TDL, Microsoft, PASCAL/z,
etc)  --can these formats be intermixed??  (I'd like to use Aztec in the
M80 mode, but write my assembler code with TDL that I know better)

	thanks for any info,

		Larry Marek
		 ihuxf!larry
		  Bell Labs, Naperville