Mail Archives: djgpp/1998/02/22/10:01:09
Get the assembly output of the program and use DJGPP's assembler or NASM
(probably NASM because most assembly output doesn't use DJGPP's style). Nasm
allows COFF output and is ready to be linked in. All you have to remember is not
to touch memory you shouldn't and how to read function arguements. I don't know
personally - asm is not my strong point.
Most good compilers will allow you to output assembly format of your C code so
you can inspect how it did with optimizing (did I spell that right?), and you
can use that for NASM.
--
"DeHackEd"
EMail address not given out due to low-life spammers.
Denis Gurchenkov wrote in message
<01bd3f5b$3b2b28e0$a7de7cc1 AT ws03 DOT cclib DOT nsu DOT ru>...
>I have to convert output file of one very strange compiler
>into coff format, and use djgpp linker for building
>executable file. But I haven't find any docs about
>coff-go32 file format, and I don't know how to generate
>relocations, debug info and some other data.
>
- Raw text -