@bendurso said in OS for compiling in Linux?:
But it’s really important that all the libraries and dependencies are installed for x86_64, right? Because if we build HISE using some ARM libraries, then the resulting plugin wouldn’t work correctly on x86_64 machines I think.
If you want to distribute on x86, probably. I had a little play around with this earlier, and was able to get HISE up running on an ARM version of Debian 12 natively, but ran into problems adding the amd64 versions of the dependancies Clang, llvm and build-essentials (the rest install okay):
clang-14:amd64 : Depends: libclang-common-14-dev:amd64 (= 1:14.0.6-12) but it is not installable
Recommends: llvm-14-dev:amd64 but it is not going to be installed
Recommends: python3:amd64 but it is not going to be installed
dpkg-dev : Depends: make
Depends: binutils but it is not installable
Recommends: build-essential but it is not installable
python3 : PreDepends: python3-minimal (= 3.11.2-1+b1) but it is not going to be installed
Depends: python3.11 (>= 3.11.2-1~) but it is not going to be installed
We should be able to specify an architecture when building:
TARGET_ARCH='-march=x86-64' make config=RELEASE
But this just gives us an error and list of acceptable values (all ARM), so it seems likely either the missing dependancies need fixing, or there's some other step being missed..