www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/20/11:30:56

From: Christoph Kukulies <kuku AT gil DOT physik DOT rwth-aachen DOT de>
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 <kuku AT gilberto DOT physik DOT rwth-aachen DOT de>
MIME-Version: 1.0

>    Errors-To: postmaster AT ns1
>    From: Andrew Getskow <getskow AT ionet DOT net>
>    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 <enumeration_of_files_to_extract>

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

- Raw text -


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