This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linking EFI applications with x86_64-pc-mingw32-ld


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-.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]