This is a pack to compile an 64bit binary of ioq3 on win64 very easily so
one can go directly to debugging. I can't find the reason vm_ 2 is not
functional hence I request help. (vm_ 0 and 1 appear playable);  vm_ 2 goes
out with "ERROR: Bad UI system trap: 98498432[or other similar undefined
number]" in default baseq3 and mods.

http://www0.org/urt/ioq3+mingw64.tar.7z
(it also has a built .exe with debugging symbols; it needs the 64bit SDL DLL
included)

How to build:
- Unpack the two directories into msys home
- Set mingw64 as /mingw in /etc/fstab
- make debug

To use:
- SDL.dll 64bit is included (build from 1.2.14 release) - remember to
replace the 32bit one.
- (pack also has a built .exe with debugging symbols)

vm_86_64 info
- vm_x86_64.c is modified to use Microsoft's mem allocation mirroring
vm_x86.c
- both on it and vm_x86_64_assembler.c, long is replaced with int64_t,
intptr_t or long long.
- ___feel free to delete them and replace them with upstream's to start
anew___.
- there's a malloc equivalent of mmap in it from upstream that when used it
doesn't reach the 'Bad UI system trap' error but segfaults at  __asm__
__volatile__ () of vm_x86_64.c

Other information:
- Makefile is modified to support x86_64 COMPILE_ARCH (platform stays
mingw32); it's for now explicitly set. With mingw64 it just works for now.
- sdl .a libs are included in libs/win64 and Makefile is ready for it
- mingw64 bin dir has gdb.
- mingw64 build is
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-w64-bin_x86_64-mingw_20100123_sezero.zip/download

Please help!
_______________________________________________
ioquake3 mailing list
[email protected]
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.

Reply via email to