Mail Archives: djgpp/1997/08/31/13:02:58
At 09:19 8/30/1997 GMT, you wrote:
>I am not familiar with the .o or .a UNIX object and archive formats nor with
>the borland DOS .lib formats.
>So I need a program which can translate between the two...
No, sorry, you can't really do it. There are all sorts of problems
converting the formats, but the basic underlying problem is that the .lib
file has real-mode code in it. If you linked it with a DJGPP program, which
runs in protected mode, it would almost certainly crash.
So your best bet is to port the library, if you have the sources. If not,
rewrite the routines you need from scratch, or use Allegro, for instance, as
a starting point and modify it.
>If there exists a program like EXE2COFF except for .lib's (& .obj's would be
>nice too but not necessarily important to me at this time) instead of .exe's
>I would greatly appreciate pointers on where to find it.
The EXE2COFF name is misleading. It only can convert those EXE files that
are really stubified COFF. Any other EXE will not work.
eldredge AT ap DOT net
- Raw text -