Re:LLVM 3.9 Release Notes
by Ericson2314 on Sunday September 04, 2016 @06:19PM
(#12426997)
I mean no longer pick a single target at compile time. It looks like one still needs to?
[ Parent
| on HN ]
Re:LLVM 3.9 Release Notes
by AceJohnny2 on Sunday September 04, 2016 @06:56PM
(#12427129)
What do you mean by "target" in this case? For me, "target" means the machine you're compiling for. In which case, there is no reason to want ld/other binutils tools to generate output for multiple targets at a time.
And if you do need to build for multiple targets, you just run the binutils tools multiple times with the right options for each, because they're never identical.
Re:LLVM 3.9 Release Notes
by Ericson2314 on Sunday September 04, 2016 @10:46PM
(#12427805)
I mean target in the sense of auto tools. LLVM for example is multi-target. LLVM binaries by default support every possible platform LLVM supoorts.
Compiling per-target toolchains is an annoying chore, and binutils is the last holdover bugging me with this when I work with Rust.
> And if you do need to build for multiple targets, you just run the binutils tools multiple times
The question here is whether you can run the same tool (the same binary) for two different targets, or if you have to run a different version of e.g. ld built specifically for each target.