First post, by Duffman
I'm trying to compile a 32-bit dosbox on 64-bit linux, but I'm having some trouble compiling
I did these steps
sudo dpkg --add-architecture i386
sudo ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
export CFLAGS=-m32
export CXXFLAGS=-m32
export LDFLAGS=-m32
sudo make
it runs into an error here
core_dyn_x86/decoder.h: In function ‘CacheBlock* CreateCacheBlock(CodePageHandler*, PhysPt, Bitu)’:
core_dyn_x86/decoder.h:2009:59: error: cast from ‘CacheBlock*’ to ‘Bit32u {aka unsigned int}’ loses precision [-fpermissive]
gen_save_host_direct(&cache.block.running,(Bit32u)decode.block);
^
any help with this?
MB: ASRock B550 Steel Legend
CPU: Ryzen 9 5950X
RAM: Corsair 64GB Kit (4x16GB) DDR4 Veng LPX C18 4000MHz
SSDs: 2x Crucial MX500 1TB SATA + 1x Samsung 980 (non-pro) 1TB NVMe SSD
OSs: Win 11 Pro (NVMe) + WinXP Pro SP3 (SATA)
GPU: RTX2070 (11) GT730 (XP)