From: tkuehne Subject: Reusing precompiled object code To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Tue, 31 May 1994 18:26:26 +0200 (MET DST) Hi everybody! Here is my problem: I want to use DJGPP to do some serious programming for my diploma. I have to be able to drive an A/D-Converter. There are pre-compiled libraries available for C, FORTRAN, Pascal. Unfortunately the C libraries are intended for use with the compilers by Borland and Microsoft. I have been able to extract the object codes from the libraries. However, when I try to get DJGPP to recognize them using objdump -x xxxx.obj I get a 'xxxx.obj is no object file' error. Using 'objdump -i' shows the expected result. Only 'COFF'-style objects are supported. I'd like to know if there is any chance to get the code to work with DJGPP. Next, setting aside the legalese of such an action would it be possible to disassemble the object modules and just pipe the output through GAS to produce sensible object files? Forgive me if these questions are pretty dumb (keywords: huge memory model <-> 32-bit flat memory, real mode code <-> 32-bit code) , but I simply had to ask. Pointers, remarks etc. are highly appreciated. Bye, Thomas Kuehne (tkuehne AT gwdg DOT de)