You can download binary file from CI artefacts. Dependencies for run: SDL2 i686, SDL_mixer i686.
You need:
- Clang compiler
sudo apt update
sudo apt install clang-12
- Compiler tools
sudo apt install cmake
sudo apt install pkg-config
- Some cross platform libs
sudo apt install libc6-dev-i386
sudo apt install gcc-multilib
sudo apt install g++-multilib
- Install assembly compiler JWasm that understands masm syntax
git clone https://github.com/JWasm/JWasm.git
cd JWasm
cmake .
make
sudo cp jwasm /usr/local/bin
- Install x86 lib SDL2 not lower than version SDL 2.0.12. You may compile it yourself
git clone https://github.com/libsdl-org/SDL.git -b SDL2
cd SDL
mkdir build
cd build
../configure --host=i686-pc-linux-gnu CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32
make
sudo make install
- Install x86 lib SDL2_mixer. You may compile it yourself
git clone https://github.com/libsdl-org/SDL_mixer.git -b SDL2
cd SDL_mixer
mkdir build
cd build
../configure --host=i686-pc-linux-gnu CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32
make
sudo make install
To compile run build script from Bedlam/linux folder
git clone https://github.com/8street/Bedlam.git
cd Bedlam/linux
chmod +x compile.sh
./compile.sh