Mail Archives: djgpp/1996/10/24/23:01:18
>Pardon my newbie-ism, but what else uses COFF, and if I wanted to go
>nuts and mix gcc with another compiler, would I be able to do so???
Microsoft uses a COFF variant for their development tools. The PE
executable format (the Win32 native executable format) is also a COFF
variant.
I have gotten MASM to produce a COFF object file that linked with
DJGPP compiled code and worked. The main incompatibility (as I recall)
is that locally defined data (except for the first locally defined data
element) does not get properly relocated. There is a workaround for
this--just specify a single chunk of memory and supply offsets into
it yourself.
Sam Paik
--
408-749-8798 / paik AT webnexus DOT com
I speak for xyne KS since I AM xyne KS.
- Raw text -