On 27 November 2007 18:47, 'Daniel Jacobowitz' wrote:

> On Tue, Nov 27, 2007 at 06:39:09PM -0000, Dave Korn wrote:
>>> joking aside, we need to generate ELF object files for running on windows.
>> 
>>   OK, you are now attempting something very very wrong indeed.  The win32
>> version of the assembler will not generate ELF files, and even if it did,
>> windows cannot make any use of the ELF format, it uses PE-COFF.  And the
>> output file format has absolutely nothing to do with whether or not the
>> symbols have leading underscores, so claiming that you have to use
>> -fleading-underscores because you need to generate ELF files is a
>> non-sequitur.
> 
> Please give them a little credit.  I would assume they're using an
> i386-elf compiler and have some mechanism of their own to make the ELF
> files run.

  I am making no assumptions either way; I'd like some clarification.

  Wouldn't a simpler and more-likely-to-be-reliable technique be to use a
win32 /compiler/ (so as to get all the ABI issues right, not just the amount
of underscores on symbols) and only generate/convert to ELF further down the
toolchain?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

Reply via email to