Mail Archives: djgpp/1998/10/18/07:31:33
On Fri, 16 Oct 1998, it was written:
> I've got a really handy custom library that works with gcc/++ on a
> Linux box. I've only got the header files and the bins (i.e. no
> source). I'd like to get this library into a form that djgpp can use.
> Is this possible?
The only way I know of to get this done is to find a version of
`objcopy' (it's part of GNU Binutils) that supports both ELF and
COFF-GO32 targets, and use it to convert the library. If you cannot
find such a version of `objcopy', you should be able to configure and
rebuild Binutils so that these formats are supported.
Note that even if you do the above, you might have some problems linking
against that library, because the C and C++ headers used by the version
of Linux used to compile the original sources were different from what
DJGPP has. The way this manifests itself is that you get undefined
reference errors from the linker.
- Raw text -