crossplatform linking?
Daniel Keep
daniel.keep.lists at gmail.com
Sun Mar 22 22:30:48 PDT 2009
davidl wrote:
>
> I don't know why there should be different format object files. Couldn't
> they be much the same. And the linker finally decide how to link them to
> platform specific binary?
>
> MSVC perhaps has already get some idea of this kind, the link time code
> generation.
>
> I'm just curious why on the X86 arch , we get different object file
> formats just for platform specific.
I would imagine it's because OPTLINK requires OMF, linux wants ELF and
Mac OSX wants mach-o (or something).
-- Daniel
More information about the Digitalmars-d
mailing list