Linking EFI applications with x86_64-pc-mingw32-ld

NightStrike nightstrike@gmail.com
Mon Apr 2 19:19:00 GMT 2012


On Mon, Apr 2, 2012 at 9:38 AM, Shea Levy <shea@shealevy.com> wrote:
> Hello,
>
> Can x86_64-pc-mingw32-ld be used to link COFF objects into EFI applications?
> x86_64-pc-mingw32-objdump works on EFI applications and even recognizes the
> Subsystem value in the header as corresponding to an EFI app, so I'm hoping
> so, but I'm not sure how to change my ld invocation to not build a win32
> console app.
>
> Cheers,
> Shea Levy

I don't know the answer to your question, but at the very least, you
should try using the x86_64-w64-mingw32 target.  Notice that the
middle part of the triplet is not -pc-.



More information about the Binutils mailing list