Mail Archives: djgpp/1996/11/12/19:46:55
Battista Ruffaldi wrote:
>
> Is there a converter for the old .OBJ generated by TASM and other
> compilers/assemblers to the .o format in use by Djgpp and friends?
It's not easy. The vast majority of object code from other compilers is
totally incompatible with the DJGPP format. For your code to be
compatible, it must have been compiled as flat-model COFF, and even then
you are running some risks. Your best bet is to get the source for the
object files and recompile it with DJGPP. Even then, significant
changes will have to be made if the code does any direct memory access
or other DPMI nonos.
The best source of information on object and library conversion is the
DJGPP FAQ, available from SimTel as v2/faq202b.zip. Look in chapters 17
and 18 primarily, and there are many other useful tidbits scattered
about.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| * Proud user of DJGPP! * | http://www.cs.com/fighteer |
| ObJoke: If Bill Gates were a robber, not only would he |
| shoot you, but he'd send you a bill for the bullets. |
---------------------------------------------------------------------
- Raw text -