From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,79b248c1cf206957 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-06 08:40:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Why is memory footprint smaller when compiled static? Date: Thu, 6 Jun 2002 17:24:09 +0200 Organization: Adalog Message-ID: References: <17cd177c.0206060626.197bfd2e@posting.google.com> <3cff7ae7@news.cadence.com> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1023377995 12997 195.25.228.57 (6 Jun 2002 15:39:55 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Thu, 6 Jun 2002 15:39:55 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Xref: archiver1.google.com comp.lang.ada:25410 Date: 2002-06-06T17:24:09+02:00 List-Id: "Jean-Marc Bourguet" a �crit dans le message news: 3cff7ae7@news.cadence.com... > The possibility of doing some "dead code elimination" at the linker > level depend also on the object file format and the way it is used by > the compiler. > Back in 1978 (circa) I wrote a linker. It was able to do dead code elimination, as well as to resolve all references irrespectively of the order of the modules given on the command line. Sigh.... -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr