From: Christoph Kukulies Message-Id: <199702201613.RAA03668@gil.physik.rwth-aachen.de> Subject: Re: Extracting .o from .a In-Reply-To: <9702182153.AA02190@quasar.bloomberg.com > from "kagel@quasar.bloomberg.com" at "Feb 18, 97 04:53:20 pm" To: kagel AT dg1 DOT bloomberg DOT com Date: Thu, 20 Feb 1997 17:13:54 +0100 (MET) Cc: getskow AT ionet DOT net, djgpp AT delorie DOT com Reply-To: Christoph Kukulies MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > Errors-To: postmaster AT ns1 > From: Andrew Getskow > Newsgroups: comp.os.msdos.djgpp > Date: Sun, 16 Feb 1997 12:27:27 -0700 > Organization: ioNET > Lines: 2 > Nntp-Posting-Host: pxsip14.ionet.net > Mime-Version: 1.0 > Content-Transfer-Encoding: 7bit > X-Mailer: Mozilla 2.0 (Win95; I) > Dj-Gateway: from newsgroup comp.os.msdos.djgpp > Content-Type: text/plain; charset=us-ascii > Content-Length: 121 > > I want to extract all .o files from an .a file. I am sure the > linker will do this, but I can't find the right commands > > Not the linker, the 'ar' utility: > > > ar xvf libmylib.a Not quite correct: ar x lib or ar x lib The 'f' option doesn't apply to ar. (ar isn't tar) > > -- > Art S. Kagel, kagel AT quasar DOT bloomberg DOT com > > A proverb is no proverb to you 'till life has illustrated it. -- John Keats > -- Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de