Mail Archives: djgpp/1996/07/08/01:14:20
On Sun, 7 Jul 1996 entropys AT netcom DOT com wrote:
> I have several C callable ASM routines together in an ASM file. These
> ASM routines were designed to be C callable under borland/microsoft C.
> What do I need to do to be able to link these files into a djgpp c
> program?
If that's a one-shot project, and you don't need to maintain that ASM
code, you can try using a version of MASM that can emit COFF object files
that DJGPP expects. (The FAQ list has the details in section 17.3.) But
I recommend to convert your code to the AT&T format accepted by the GNU
Assembler (which comes with DJGPP), because in the long run that will
allow you to make maintenance easier. The above section in the FAQ tells
you about available methods for such a conversion.
The DJGPP FAQ list is available as v2/faq200b.zip from the same place you
get DJGPP.
- Raw text -