Open arrowgent opened 4 months ago
This is probably possible and Linux is my primary OS so it would be interesting to do. At the moment though it's very specifically built for Windows and it works under Proton so I'm not sure if I'll get around to reverse engineering it on Linux and figuring out how to abstract out some of the components. But I'm open to it!
rustc --version rustc 1.75.0 (82e1608df 2023-12-21) (built from a source tarball) cargo --version cargo 1.75.0
instead of a
.dll
, we want to output a.so
librarycargo build
alternatively: rustc build.rs ls 13277888 May 25 04:59 build* ./build
cross compile:
cargo build --target x86_64-unknown-linux-gnu
lots of compiling logCompiling grimmod v1.0.0 (/media/catbox/CrucialXTB/SteamLibrary/steamapps/common/grimfandangoremastered/Grim Fandango Remastered/grimmod/grimmod)
cross compile log:
getting the rustc/cargo nightly build rustc -V rustc 1.78.0 (9b00956e5 2024-04-29) cargo --version cargo 1.78.0 (54d8815d0 2024-03-26)
same thing: