Re: link-optimization in C

Jeffrey A Law <law@upchuck.cygnus.com>
27 May 1999 23:25:13 -0400

          From comp.compilers

Related articles
link-optimization in C taris@cityline.ru (S. Bochkarev) (1999-05-21)
Re: link-optimization in C colohan@gs138.sp.cs.cmu.edu (Christopher Brian Colohan) (1999-05-22)
Re: link-optimization in C bcombee@metrowerks.com (1999-05-22)
Re: link-optimization in C jsgray@acm.org.nospam (Jan Gray) (1999-05-22)
Re: link-optimization in C bill@megahits.com (Bill A.) (1999-05-27)
Re: link-optimization in C law@upchuck.cygnus.com (Jeffrey A Law) (1999-05-27)
Re: link-optimization in C wfahle@airmail.net (Bill Fahle) (1999-06-27)
| List of all articles for this month |
From: Jeffrey A Law <law@upchuck.cygnus.com>
Newsgroups: comp.compilers
Date: 27 May 1999 23:25:13 -0400
Organization: Compilers Central
References: 99-05-091 99-05-105
Keywords: linker

    > >Actually, CodeWarrior for Win32 (by default) and MS Visual C++ (when
    > >used with the /Gy switch) both perform this procedure you mention --
    > >we put each procedure in its own section, and the respective linkers
    > >dead-strip out unused functions in the final executable.
    >
    > The Watcom C/C++ linker also removes dead code and can remove unused
    > non-virtual and virtual functions by choice.


The GNU tools can do this on ELF platforms. Though the removal of
unused virtual functions isn't supported on all platforms (yet).


jeff


Post a followup to this message

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