Request: make coff2omf free

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Sun Feb 25 09:28:04 PST 2007


Julio César Carrascal Urquijo wrote:
> Walter Bright wrote:
>> Since I have to support Elf anyway, it still leaves me supporting two 
>> formats.
>>
> 
> I take from this that you plan on dumping OMF support on DMD for Windows 
> and generate ELF .obj on both platforms. Right?
> 
> Wouldn't that defeat the purpose of:
> 
>  > Uses Existing Tools
>  >
>  > D produces code in standard object file format, enabling the use of
>  > standard assemblers, linkers, debuggers, profilers, exe compressors,
>  > and other analyzers, as well as linking to code written in other
>  > languages.
> 
> http://www.digitalmars.com/d/overview.html
> 
> I haven't seen any linker / librarian on windows that support ELF.

I have: Binutils (ld and friends) can easily be compiled on Windows with 
support for ELF.
Unfortunately, IIRC it can't support PE at the same time :(. It seems 
the MinGW patches break support for other file formats...

> Also, I think this change will adversely affect DDL 
> (http://dsource.org/projects/ddl/) since it loads the .obj files and 
> links them directly into the application.

DDL already supports ELF (as well as COFF/PE). I can't find any mention 
on the site that this feature is not available on Windows.



More information about the Digitalmars-d mailing list