Thanks, that did the trick. I used crystal build src/main.cr --mcpu=znver3 --cross-compile
, uploaded the generated object and linked the object inside the VPS using the command that crystal build src/main.cr --mcpu=znver3 --cross-compile
outputs (cc main.o -o main -rdynamic ...
)
crystal build src/main.cr --release --no-debug --mcpu=x86-64-v3 --cross-compile
also works well. Thank you <3