March 22, 2003
On Fri, 21 Mar 2003 15:27:24 -0800, Walter <walter@digitalmars.com> wrote:

>
> "Charles Banas" <greywolf@greyfade.net> wrote in message
> news:oprmdipc0b8ctebf@news.digitalmars.com...
>> > The object file format used by D and the linker is OMF (Object Module
>> > Format). It's a standard put out by Intel.
>> and the only other two linkers that seem to support it are Intel's and
>> Borland's.  i don't have access to Intel's.  i never ceases to amaze me
>> when some standards are never used by everyone.
>
> OMF was the only one used on the PC by probably 50 compilers for about 12
> years. It's a pretty well worn standard. The only compilers I know of that
> supports Microsoft's version of COFF is Microsoft's compilers.
>
the thing is, not only is it well-worn, but it's worn-out.  those 50 compilers are obsolete and OMF was pretty much replaced by ELF, COFF, et. al.  and since i don't even use Microsoft's version of COFF (since i rarely use the MS compiler), your last statement held little meaning to me.

>> since i work on multiple platforms, i need the ability to work with more
>> common object file formats (like elf and coff) and to output a raw 32- bit
>> binary file (with no header, relocation, or segment data) for my project.
>> i guess i'll have to wait for the GCC frontend before i can use D.  suck.
>
> The PE format is pretty simple, and it shouldn't be too hard to write an
> EXE2BIN for it, assuming that you've programmed out any references to DLLs,
> etc.
>
true, but i was hoping to avoid that.

although i would like to write everything in D, my projects simply aren't ready for that, so i want to write certain modules in D.  therefore, i want to use GCC for the majority of the project - and the object formats it supports.

-- 
Charles "grey wolf" Banas
March 23, 2003
>...use GCC for the majority of the project - and the object formats it
>supports.
>Charles "grey wolf" Banas

I second the motion.  Object formats are a problem with Digital Mars tools generally and the whole topic also folds into a Linux port of DMC++ which would be an absolute Godsend for Linux.

Mark


1 2
Next ›   Last »