eshard / obfuscator-llvm

Other
236 stars 42 forks source link

Problew with build the compiler and LLVM #9

Open peachkalemarsexpress opened 1 year ago

peachkalemarsexpress commented 1 year ago

I use the guide and trying to adapt it for Windows OS, when I run the command python .\x.py build, I get thread 'main' panicked at 'shared linking to LLVM is not currently supported on x86_64-pc-windows-msvc', src\bootstrap\native.rs:162:13 . Is there any way to do this on Windows?

PatriceBlin commented 1 year ago

As of today, bootstrap (Rust 1.68.0) will still panic for any target/toolchain containing "Windows": see src/bootstrap/native.rs

https://github.com/rust-lang/rust/commit/389b7ff19074988a3855bbc5ba7b19eb903a6fb4

Maybe you can try to force llvm_link_shared to be false (in config.toml ?) but as we never tried, I'm not sure if this plugin would build