Mail Archives: djgpp/1997/04/29/10:33:49
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 <fighteer AT cs DOT com>
-----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------
- Raw text -