mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-21 22:31:19 +00:00
BII: JIT
This commit is contained in:
parent
d58aa827a4
commit
98e12fbc2e
@ -1108,6 +1108,7 @@
|
|||||||
ONLY_ACTIVE_ARCH = NO;
|
ONLY_ACTIVE_ARCH = NO;
|
||||||
OTHER_CFLAGS = "";
|
OTHER_CFLAGS = "";
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = (
|
||||||
|
"-Wl,-no_pie",
|
||||||
"-pagezero_size",
|
"-pagezero_size",
|
||||||
0x1000,
|
0x1000,
|
||||||
);
|
);
|
||||||
@ -1168,6 +1169,7 @@
|
|||||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||||
OTHER_CFLAGS = "";
|
OTHER_CFLAGS = "";
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = (
|
||||||
|
"-Wl,-no_pie",
|
||||||
"-pagezero_size",
|
"-pagezero_size",
|
||||||
0x1000,
|
0x1000,
|
||||||
);
|
);
|
||||||
|
@ -39,7 +39,7 @@ AC_ARG_ENABLE(sdl-framework-prefix, [ --enable-sdl-framework-prefix=PFX d
|
|||||||
AC_ARG_WITH(sdl1, [ --with-sdl1 use SDL 1.x, rather than SDL 2.x [default=no]], [WANT_SDL_VERSION_MAJOR=1], [])
|
AC_ARG_WITH(sdl1, [ --with-sdl1 use SDL 1.x, rather than SDL 2.x [default=no]], [WANT_SDL_VERSION_MAJOR=1], [])
|
||||||
|
|
||||||
dnl JIT compiler options.
|
dnl JIT compiler options.
|
||||||
AC_ARG_ENABLE(jit-compiler, [ --enable-jit-compiler enable JIT compiler [default=no]], [WANT_JIT=$enableval], [WANT_JIT=no])
|
AC_ARG_ENABLE(jit-compiler, [ --enable-jit-compiler enable JIT compiler [default=yes]], [WANT_JIT=$enableval], [WANT_JIT=yes])
|
||||||
AC_ARG_ENABLE(jit-debug, [ --enable-jit-debug activate native code disassemblers [default=no]], [WANT_JIT_DEBUG=$enableval], [WANT_JIT_DEBUG=no])
|
AC_ARG_ENABLE(jit-debug, [ --enable-jit-debug activate native code disassemblers [default=no]], [WANT_JIT_DEBUG=$enableval], [WANT_JIT_DEBUG=no])
|
||||||
|
|
||||||
dnl FPU emulation core.
|
dnl FPU emulation core.
|
||||||
@ -612,7 +612,6 @@ mips-sony-bsd|mips-sony-newsos4)
|
|||||||
;;
|
;;
|
||||||
*-*-darwin*)
|
*-*-darwin*)
|
||||||
no_dev_ptmx=1
|
no_dev_ptmx=1
|
||||||
LIBS="$LIBS -lstdc++"
|
|
||||||
;;
|
;;
|
||||||
*-*-freebsd*)
|
*-*-freebsd*)
|
||||||
no_dev_ptmx=1
|
no_dev_ptmx=1
|
||||||
@ -1466,6 +1465,11 @@ if [[ "x$WANT_JIT" = "xyes" -a "x$ADDRESSING_MODE" = "xmemory banks" ]]; then
|
|||||||
AC_MSG_ERROR([Sorry, the JIT Compiler requires Direct Addressing, at least])
|
AC_MSG_ERROR([Sorry, the JIT Compiler requires Direct Addressing, at least])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "x$OS_TYPE" = "xdarwin" ]]; then
|
||||||
|
WANT_VOSF=no
|
||||||
|
LDFLAGS="$LDFLAGS -Wl,-no_pie -pagezero_size 0x1000"
|
||||||
|
fi
|
||||||
|
|
||||||
dnl Enable VOSF screen updates with this feature is requested and feasible
|
dnl Enable VOSF screen updates with this feature is requested and feasible
|
||||||
if [[ "x$WANT_VOSF" = "xyes" -a "x$CAN_VOSF" = "xyes" ]]; then
|
if [[ "x$WANT_VOSF" = "xyes" -a "x$CAN_VOSF" = "xyes" ]]; then
|
||||||
AC_DEFINE(ENABLE_VOSF, 1, [Define if using video enabled on SEGV signals.])
|
AC_DEFINE(ENABLE_VOSF, 1, [Define if using video enabled on SEGV signals.])
|
||||||
|
Loading…
Reference in New Issue
Block a user