[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Arch triplet for uefi applications



Bastien Roucariès wrote:
> I am going to compile shell.efi from source.
> 
> I whish to install to something stable, but I need an arch triplet in order to 
> put in a multiarch (like) location.
> 
> I suppose that it will be  x86_64-efi-none (or maybe x86_64-windows-efi  )  and 
> i686-uefi-none ?

I don't think GRUB's x86_64-efi is an architecture triplet, just a
GRUB-specific target.

UEFI is effectively an "operating system", insofar as it provides a
runtime environment with some baseline properties and a set of system
calls. uefi definitely isn't a "vendor", and the OS shouldn't be "none"
since there is an OS of sorts.

For that reason, Rust uses the target names "aarch64-unknown-uefi",
"i686-unknown-uefi", and "x86_64-unknown-uefi". Those seem like the
right names for these targets in other toolchains, as well.

- Josh Triplett


Reply to: