Re: Linkers - making executables smaller

corbett@lupa.Eng.Sun.COM (Robert Corbett)
24 Jun 1998 00:07:20 -0400

          From comp.compilers

Related articles
Linkers - making executables smaller peterh@pernod.demon.co.uk (1998-06-18)
Re: Linkers - making executables smaller leichter@smarts.com (Jerry Leichter) (1998-06-19)
Re: Linkers - making executables smaller alan@ezlink.com (1998-06-19)
Re: Linkers - making executables smaller bill@amber.ssd.csd.harris.com (1998-06-19)
Re: Linkers - making executables smaller corbett@lupa.Eng.Sun.COM (1998-06-24)
Re: Linkers - making executables smaller henry@spsystems.net (1998-06-24)
Re: Linkers - making executables smaller brdsutte@elis.rug.ac.be (1998-06-24)
| List of all articles for this month |
From: corbett@lupa.Eng.Sun.COM (Robert Corbett)
Newsgroups: comp.compilers
Date: 24 Jun 1998 00:07:20 -0400
Organization: Sun Microsystems Computer Corporation
References: 98-06-103 98-06-106
Keywords: optimize, linker

Jerry Leichter <leichter@smarts.com> wrote:


>"Classic Unix" linkers were probably about as minimalist as any you
>can find after the early 60's. They cause a great deal of pain for
>developers of languages with more sophisticated type and execution
>models than C and FORTRAN, for which they were designed - hence name
>mangling and "munch" (for static initializer support) in C++
>implementations. I think the trend has (finally) reversed.


Most UNIX linkers cause pain even for C and Fortran implementors. I
used linkers in the late 1960s and early 1970s that supported
link-time type checking, multiple initializations, unrestricted
link-time expressions in initializations, iterated initializations,
first definition wins, and more. The ELF linker is the
third-generation of UNIX linkers, it is a huge improvement over its
predecessors, and it is pathetic compared to linkers that were
available in the early 1970's. The linkers of the 1960s and 1970s did
tend to be slow, but remember, in those days 1 megabyte of core was
considered to be (and physically was) enormous.


Sincerely,
Bob Corbett
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.