| Issue |
61485
|
| Summary |
Need host `llvm-config` when LLVM libraries are cross-compiled
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
chbaker0
|
LLVM embedders (including Rust) often use `llvm-config` to select the right compiler and linker flags.
When cross-compiling such a program, the LLVM libraries will be for the target platform, as will the `llvm-config` binary. However, since the embedder is also being cross-compiled, the host build needs to run `llvm-config`.
Providing an (optional?) host `llvm-config` binary would be nice.
Some builds produce one in `NATIVE/bin/llvm-config` but it outputs paths to stuff in `NATIVE` and I'm not even sure it's configured correctly to use the target libs.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs