From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: lib Date: Mon, 28 Apr 1997 10:17:34 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 24 Message-ID: <3364793E.4AD7@SPAMcs.com> References: <3365334F DOT 41C1 AT icgroup DOT net> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp103.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk lab wrote: > > I am very new to djgpp/rhide. I managed to build a library but somehow I > lost all my .c and .o files. All I have left is the library.Is there a > way I can disassemble the lib and get my .c files back?........ Unless you have some way of undeleting them, your .c files are gone for good. However, you can extract .o files from a library the same way you put them in: with 'ar'. Here's the command: ar xv libmylib.a [files...] If you don't provide the filenames to extract with the 'x' command, ar extracts them all by default. -- John M. Aldrich, aka Fighteer I -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>++ W++ N++ o+>++ K? w(---) O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+(++) tv+() b+++ DI++ D++ G>++ e(*)>++++ h!() !r !y+() ------END GEEK CODE BLOCK------