doronbehar / pistol

General purpose file previewer designed for Ranger, Lf to make scope.sh redundant
MIT License
322 stars 7 forks source link

Support cross compilation. #77

Closed doronbehar closed 1 year ago

doronbehar commented 3 years ago

So artifacts can be published in https://github.com/doronbehar/pistol/releases for many systems. There's some help at:

https://nix.dev/tutorials/cross-compilation#cross-compilation

But I get now the error:

pistol-static-aarch64-unknown-linux-musl> aarch64-unknown-linux-musl-gcc: error: unrecognized command line option '-m64'