Re: Arch triplet for uefi applications
On Tue, Aug 10, 2021 at 03:19:10PM -0700, Josh Triplett wrote:
>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 ?
As Simon says, *definitely* not *windows* here please! :-)
>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.
Nod, agreed. I think that makes sense.
--
Steve McIntyre, Cambridge, UK. steve@einval.com
< sladen> I actually stayed in a hotel and arrived to find a post-it
note stuck to the mini-bar saying "Paul: This fridge and
fittings are the correct way around and do not need altering"
Reply to: