Request: make coff2omf free

Walter Bright newshound at digitalmars.com
Sun Feb 25 01:26:12 PST 2007


John Reimer wrote:
> On Sat, 24 Feb 2007 22:33:11 -0800, Walter Bright wrote:
> 
>> Why does Mingw do coff on Win32, while the gcc tools everywhere else do 
>> elf? This makes no sense to me.
> 
> 
> It seems that elf is an object /and/ executable format, so it requires
> support from the OS somehow.

If you don't want to take my word for it, ok, but object files output 
from C, C++, and D compilers are not executable - not on Windows or Linux.

> Whereas coff is merely an object format and PE appears to be windows
> executable format.

PE is similar to coff, but that doesn't mean you can run coff object files.

> That may be the reason that mingw went coff instead, even it it isn't
> compatible with MS coff objects.




More information about the Digitalmars-d mailing list