I am trying to compile a C++ DOS project on Arch Linux and I am having some issues. The code is meant to compile on Linux with a djgpp cross compiler.
I came across this youtube video of this guy Bisqwit creating an fps style walking scene where he codes the entire thing out in one 15 min video (actually has a very teksyndicate feel to it).
I found an AUR package for djgpp–gcc but it has signature issues with gpg for djgpp-binutils that I haven’t been able to fix.
I’ve tried installing everthing manually (using djgpp guide) but it fails when I try
gcc-2.8.1/configure --target=i586-pc-msdosdjgpp --prefix=/usr/local
giving x86_64-unknown-linux-gnu host error. I’ve tied to configure it to run using 32bit flags but no luck so far using the following
./configure --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
Any help is appreciated. I am new to compiling C++ programs and also installing programs from source in Linux. I am doing all of this for the learning experience more than anything else.