FWGS / hlsdk-portable

Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
https://xash.su
Other
267 stars 119 forks source link

how to build for (and while on) other architectures #324

Closed BlazingRush closed 1 year ago

BlazingRush commented 2 years ago

How to build for (and while on) other architectures. (ARM, ARM64, PPC, PPC64, PPC64le, RISC-V) more accessible build instructions for other architectures.

a1batross commented 2 years ago

You just do. There is no anything special.

BlazingRush commented 2 years ago

You just do. There is no anything special.

I meant this dependency-wise. Do i need the 32-bit ARM version of libsdl2-dev when compiling for ARM64? Or just the ARM64 version? Also which chroots can we we use, or cant we use any chroots on other architectures? Do we need to set some variables for our architecture to build?

nekonomicon commented 2 years ago

SDL2 needed only for GoldSource(Actually i386 linux). For different architectures you can set 64BIT variable. Instructions with chroots only for GoldSource modders/users. For any other cases see #Other platforms.