book icon indicating copy to clipboard operation
book copied to clipboard

$TRIPLE, does it have any meaning ??

Open flip111 opened this issue 6 years ago • 5 comments

https://rust-embedded.github.io/book/start/qemu.html#cross-compiling

flip111 avatar Feb 17 '19 02:02 flip111

i can't move this issue forward on my own at the moment

flip111 avatar Feb 18 '19 20:02 flip111

It appears to be a variable placeholder for whatever target triple you want to build. A little later it shows an example triple of thumbv7m-none-eabi and how this was set as the default target triple in the .cargo/config file.

adamgreen avatar Feb 19 '19 03:02 adamgreen

what's a "target triple" ?

flip111 avatar Feb 19 '19 12:02 flip111

Here is a longer description: https://clang.llvm.org/docs/CrossCompilation.html#target-triple

It's basically the target that you want to compile for and it's (often) seperated in 3 parts. Therefore target triple.

caemor avatar Feb 19 '19 12:02 caemor

Thanks, i will wait on some other PR's before reconsidering this.

flip111 avatar Feb 19 '19 14:02 flip111