Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Building SheepShaver for x64 Windows #14
Hi, in an attempt to compile SheepShaver for x64 Windows (using latest mingw64 and msys) I fail at:
C:\Users\hsp\AppData\Local\Temp\ccXTNxEx.s: Assembler messages:
How can this be fixed?
I'm not sure. I assume x64 Windows build never previously worked, correct?
On Wed, Nov 7, 2012 at 3:27 PM, cat7 email@example.com wrote:
Hi, yes, that is correct. Perhaps the issue is in the COFF part of dyngen.c ?
Basic-dyngen-ops.cpp has a remark about coff_text_shndx not being the same as text_shndx and seems to provide a workaround for Windows x64, which doesn't work (anymore?)
Got a bit more info after adding the -S compiler flags to DYNGEN_OP_FLAGS = -S -fomit-frame-pointer -falign-functions=0 -finline-limit=10000 -g0 -fno-reorder-blocks -fno-optimize-sibling-calls
gcc -I../kpx_cpu/include -I../kpx_cpu/src -DUSE_JIT -I../include -I. -I../slirp -DHAVE_CONFIG_H -O2 -c ../kpx_cpu/src/cpu/jit/dyngen.c -o obj/dyngen.ho
g++ -I../kpx_cpu/include -I../kpx_cpu/src -DUSE_JIT -I../include -I. -I../slirp -DHAVE_CONFIG_H -O2 -c ../kpx_cpu/src/cpu/jit/cxxdemang le.cpp -o obj/cxxdemangle.ho
g++ -o dyngen.exe obj/dyngen.ho obj/cxxdemangle.ho
./dyngen.exe -o basic-dyngen-ops.hpp obj/basic-dyngen-ops.o
make: *** [basic-dyngen-ops.hpp] Error 1
I contacted a Qemu developer regarding 64 bit dyngen. This is what he answered:
The binary formats for 32 bit andfor 64 bit applications
QEMU's dyngen.c never supported the 64 bit Windows binary format:
32 bit Windows uses the code marked with preprocessor macro