Airr <[EMAIL PROTECTED]> writes:

> As of late yesterday evening, we've been able to get this to work by
> linking the .obj (PE/COFF) files with ld emitting a PE executable, and
> then using objcopy to convert to the final ELF executable.

Yes, that is the usual technique.  Of course it only works with a
fully statically linked program.

> So, is it safe to assume that attempting the conversion using ld alone
> will not produce a working ELF file in our case?  That instead we
> should use objcopy to produce the final file?

Yes.

Ian


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to