delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/14/18:00:18

From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using strip --strip-debug on libraries
Date: Wed, 14 Jun 2000 22:12:51 +0100
Organization: Customer of Planet Online
Lines: 24
Message-ID: <3947F553.5ED791EA@phekda.freeserve.co.uk>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000613131528 DOT 16888J-100000 AT is> <3946A07E DOT 98F13651 AT phekda DOT freeserve DOT co DOT uk> <hvcdkscvir1k68onuuqnigogrfn3jnl3d5 AT 4ax DOT com>
NNTP-Posting-Host: modem-126.neilsborium.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg3.svr.pol.co.uk 961019395 7701 62.136.73.254 (14 Jun 2000 21:49:55 GMT)
NNTP-Posting-Date: 14 Jun 2000 21:49:55 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.14 i586)
X-Accept-Language: de,fr
CC: rich AT phekda DOT freeserve DOT co DOT uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

"Mark E." wrote:
> 
> Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> wrote:
> 
> >> A more importtant question is: how did that library wind up with more
> >> than a single copy of init.o in it?
> 
> One possibility is if the archive was created with 'ar rP'. The 'P'
> option prevents the directory part of the filename from being stripped
> until the filename is written into the archive. This also prevents
> 'init.o' in the archive from matching 'x/init.o' so 'x/init.o' gets
> added as another 'init.o'.

It's hard to tell how ar is called. libtool is used to build the libraries
and I can't decypher what's going on. I'll investigate sometime when I
next run Windows.

Thanks, bye,

-- 
Richard Dawe
[ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]

- Raw text -


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