www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/21/22:14:23

Date: Mon, 21 Apr 1997 22:00:33 -0400
Message-Id: <199704220200.WAA21322@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: myork AT auracom DOT com
CC: djgpp AT delorie DOT com
In-reply-to: <5jgsq6$kdj$1@thor.atcon.com> (message from SteelGolem on Mon, 21
Apr 1997 13:25:20 -0300)
Subject: Re: easy library question

> how do you tear apart .a files and get the .o files out of them? i want
> to use allegro, but i want to take out the parts that i won't be
> needing, so that my executable won't be as big as it would be
> otherwise.. any help? email, pleeze!

1. The whole point of libraries is that only the parts you need are
used.  You don't need to manually remove the unneeded parts - the
linker does it for you.

2. Use "ar -d"

- Raw text -


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