Binutils efi-app-x86_64 target

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
gil0mendes
Posts: 5
Joined: Mon Aug 06, 2012 3:23 am

Binutils efi-app-x86_64 target

Post by gil0mendes »

Hello,
I can't compile binutils for support efi-app-x86_64 target... I tried everything, but in the end objcopy continuous not support the required target.

anyone can help me?
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: I can't compile binutils to work with EFI

Post by iansjack »

Where did you get that target from?
gil0mendes
Posts: 5
Joined: Mon Aug 06, 2012 3:23 am

Re: I can't compile binutils to work with EFI

Post by gil0mendes »

I seen that on source code of a bootloader. That target not exist?
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: I can't compile binutils to work with EFI

Post by Combuster »

For binutils, you can use i*86-efi-pe and x86_64-pe as working targets. If you intend to get a working GCC to go with it, you'll need to lie to it and build a windows compiler, which may be rather quirky and YMMV as a result. It's probably still better than the gnu-efi hack.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
gil0mendes
Posts: 5
Joined: Mon Aug 06, 2012 3:23 am

Re: Binutils efi-app-x86_64 target

Post by gil0mendes »

Thats resolve my question, thanks :)
Post Reply