Mail Archives: djgpp/1996/04/22/13:57:40
>>>>> On Mon, 22 Apr 1996 18:56:21 +0200 (IST), Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> said:
Eli> DJGPP uses COFF as its object file format. As far as I know it is
Eli> incompatible with the OBJ format used by other DOS compilers.
Eli> So you cannot link them together directly. There is an OBJ to
Eli> COFF converter that is mentioned in that section of the FAQ
Eli> which you can use to generate a COFF file from an OBJ file, and
Eli> *then* link that COFF file with a DJGPP program.
Eli> If you have further questions, please ask.
OK! (Sorry if this sounds dumb, but I think others may be similarly
confused, the final answer may be very helpful, and it seems as though
someone should already have tried this. If the answer is `yes, you
can use a library for popular compiler <foo> version <bar>', that will
be great.)
Given that I can, in principle, link against the object files, I have
no idea (a) whether the argument-passing conventions of the two
compilers are the same (b) whether they do different name-mangling (c)
whether they have the same ideas about the standard library (d) other
things I might not be aware of -- though, of course, I can find the
answers for the djgpp side.
Am I missing the fact that such things are actually defined by the
formats or the architecture involved, perhaps? I got the impression
that the 32-bit DOS proprietary compilers weren't interoperable
anyway, judging by the library variations on offer.
Thanks for any further enlightenment and your efforts in general,
which make the DOG world rather more bearable :-).
- Raw text -