delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/30/11:33:25.1

Date: Thu, 30 Sep 1999 15:47:15 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Gautier <gautier DOT demontmollin AT maths DOT unine DOT ch>
cc: djgpp AT delorie DOT com
Subject: Re: Linker trimming unused code/data
In-Reply-To: <37F33128.C1086E5F@maths.unine.ch>
Message-ID: <Pine.SUN.3.91.990930154612.21365D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 30 Sep 1999, Gautier wrote:

> Is there a way to make ld trim unused code/data ?
> It _seems_ not to do such deletions...

What unused data did you see?

Did you try linking with the -s switch, or running `strip' on the program 
after it is linked?  If not, please try that.

> Is there an alternative linker ?

No.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019