- Timestamp:
- Nov 21, 2008 9:58:22 AM (16 years ago)
- Location:
- trunk/src/recompiler_new
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler_new/Makefile.kmk
r14418 r14447 23 23 include $(KBUILD_PATH)/subheader.kmk 24 24 25 # For 64-bit Windows we currently use gcc (due to MSVC unaware of such a novel 26 # thing as C99, a lot of GCC extensions deployed by QEMU 27 # and calling convention differences) to cross-compile code to Linux/ELF 28 # and generate invocation wrappers. 29 if1of (win.amd64, $(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) 30 REM_MOD += VBoxREM2 31 SYSMODS += VBoxREM2 32 DLLS += VBoxREM 33 # IMPORT_LIBS += VBoxREMImp 34 else 35 REM_MOD += VBoxREM 36 IMPORT_LIBS += VBoxREM 37 endif 25 38 26 REM_MOD += VBoxREM 27 #DLLS += VBoxREM 28 IMPORT_LIBS += VBoxREM 29 30 $(REM_MOD)_TEMPLATE = VBOXR3NP 39 ifeq ($(KBUILD_TARGET), win) 40 TEMPLATE_DUMMY = dummy template (move to kBuild) 41 $(REM_MOD)_TOOL.win.x86 = MINGW32 42 $(REM_MOD)_TOOL.win.amd64 = XGCCAMD64LINUX 43 $(REM_MOD)_TEMPLATE = DUMMY 44 $(REM_MOD)_SDKS.win.x86 = W32API 45 $(REM_MOD)_ASFLAGS = -x assembler-with-cpp 46 $(REM_MOD)_CFLAGS = -Wall -g 47 $(REM_MOD)_CFLAGS.debug = -O0 48 $(REM_MOD)_CFLAGS.release += -fomit-frame-pointer -fno-gcse -O2 49 $(REM_MOD)_CFLAGS.profile = $($(REM_MOD)_CFLAGS.release) 50 $(REM_MOD)_CFLAGS.kprofile = $($(REM_MOD)_CFLAGS.release) 51 else 52 $(REM_MOD)_TEMPLATE = VBOXR3NP 53 endif 31 54 32 55 OTHER_CLEAN += … … 81 104 endif 82 105 83 84 $(REM_MOD)_SOURCES.debug = \ 106 $(REM_MOD)_SOURCES.debug += \ 85 107 Sun/testmath.c 86 108 $(REM_MOD)_SOURCES.win.x86 = $(REM_MOD).def 87 109 ifneq ($(REM_MOD),VBoxREM2) 88 110 $(REM_MOD)_POST_CMDS = $(VBOX_SIGN_IMAGE_CMDS) 111 endif 112 113 ifeq ($(REM_MOD),VBoxREM2) 114 # 115 # The VBoxREM2 wrapper. 116 # 117 VBoxREM_TEMPLATE = VBOXR3 118 VBoxREM_DEFS = IN_REM_R3 $(if $(VBOX_WITH_VMI),VBOX_WITH_VMI,) 119 VBoxREM_SOURCES = \ 120 VBoxREMWrapper.cpp \ 121 VBoxREMWrapperA.asm 122 VBoxREM_LIBS = \ 123 $(LIB_VMM) \ 124 $(LIB_RUNTIME) 125 126 $(REM_MOD)_TEMPLATE = VBOXNOCRTGAS 127 $(REM_MOD)_DEFS += LOG_USE_C99 $(ARCH_BITS_DEFS) 128 $(REM_MOD)_CFLAGS.amd64 = -O2 129 $(REM_MOD)_CFLAGS.debug = -O0 130 131 # This doesn't fit in IPRT because it requires GAS and is LGPL. 132 $(REM_MOD)_SOURCES += \ 133 Sun/e_powl-$(KBUILD_TARGET_ARCH).S 134 135 $(REM_MOD)_INCS += \ 136 Sun/crt 137 $(REM_MOD)_LIBS = \ 138 $(PATH_LIB)/RuntimeR3NoCRTGCC$(VBOX_SUFF_LIB) 139 $(REM_MOD)_SYSSUFF = .rel 140 89 141 endif 90 142 … … 109 161 #$(REM_MOD)_LIBS = \ 110 162 $(LIB_VMM) \ 111 $(LIB_RUNTIME) 163 $(LIB_RUNTIME) 164 112 165 113 166 -
trunk/src/recompiler_new/fpu/softfloat-native.h
r13370 r14447 3 3 4 4 #if (defined(_BSD) && !defined(__APPLE__)) || defined(HOST_SOLARIS) 5 # include <ieeefp.h>6 # define fabsf(f) ((float)fabs(f))5 # include <ieeefp.h> 6 # define fabsf(f) ((float)fabs(f)) 7 7 #elif defined(_MSC_VER) 8 #include <fpieee.h> 9 #define fabsf(f) ((float)fabs(f)) 8 # include <fpieee.h> 9 # ifndef fabsf 10 # define fabsf(f) ((float)fabs(f)) 11 # endif 10 12 #else 11 # include <fenv.h>13 # include <fenv.h> 12 14 #endif 13 15 -
trunk/src/recompiler_new/osdep.h
r13968 r14447 5 5 6 6 #include <iprt/alloc.h> 7 #include <iprt/alloca.h>8 7 #include <iprt/stdarg.h> 9 8 #include <iprt/string.h>
Note:
See TracChangeset
for help on using the changeset viewer.