delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/22/10:01:09

From: "DeHackEd" <Not DOT given AT out>
References: <01bd3f5b$3b2b28e0$a7de7cc1 AT ws03 DOT cclib DOT nsu DOT ru>
Subject: Re: need coff-go32 description
Date: Sun, 22 Feb 1998 09:45:58 -0500
Lines: 25
Message-ID: <OKpOaB6P9GA.150@upnetnews04>
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019