儲存庫 vbox 的更動 18422
- 時間撮記:
- 2009-3-28 上午12:04:43 (16 年 以前)
- 位置:
- trunk
- 檔案:
-
- 修改 8 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/Config.kmk
r18421 r18422 1938 1938 ifdef VBOX_USE_VCC80 1939 1939 TEMPLATE_VBOXGC_TOOL = VCC80X86 1940 TEMPLATE_VBOXGC_CXXFLAGS = -Zi -Zl -GR- - GS- -EHs-c- -GF- -W3 -wd4244-wd4996 -Zc:wchar_t- -Gs8192 $(VBOX_VCC_GC_OPT) $(VBOX_VCC_GC_FP)1940 TEMPLATE_VBOXGC_CXXFLAGS = -Zi -Zl -GR- -EHs- -GF -W3 -wd4244 -GS- -wd4996 -Zc:wchar_t- -Gs8192 $(VBOX_VCC_GC_OPT) $(VBOX_VCC_GC_FP) 1941 1941 else 1942 1942 TEMPLATE_VBOXGC_TOOL = VCC70 1943 TEMPLATE_VBOXGC_CXXFLAGS = -Zi -Zl -GR- - GX- -GF--W3 -wd4244 $(VBOX_VCC_GC_OPT) $(VBOX_VCC_GC_FP)1943 TEMPLATE_VBOXGC_CXXFLAGS = -Zi -Zl -GR- -EHs- -GF -W3 -wd4244 $(VBOX_VCC_GC_OPT) $(VBOX_VCC_GC_FP) 1944 1944 endif 1945 1945 TEMPLATE_VBOXGC_CFLAGS = $(TEMPLATE_VBOXGC_CXXFLAGS) … … 2059 2059 TEMPLATE_VBOXR0_TOOL = $(VBOX_VCC_TOOL) 2060 2060 ifdef VBOX_USE_VCC80 2061 TEMPLATE_VBOXR0_CXXFLAGS = -Zi -Zl -GR- - GS- -EHs-c- -GF- -W3 -wd4244-wd4996 -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP)2061 TEMPLATE_VBOXR0_CXXFLAGS = -Zi -Zl -GR- -EHs- -GF -W3 -wd4244 -GS- -wd4996 -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP) 2062 2062 else 2063 TEMPLATE_VBOXR0_CXXFLAGS = -Zi -Zl -GR- - GX- -GF--W3 -wd4244 $(VBOX_VCC_OPT) $(VBOX_VCC_FP)2063 TEMPLATE_VBOXR0_CXXFLAGS = -Zi -Zl -GR- -EHs- -GF -W3 -wd4244 $(VBOX_VCC_OPT) $(VBOX_VCC_FP) 2064 2064 endif 2065 2065 TEMPLATE_VBOXR0_CFLAGS = $(TEMPLATE_VBOXR0_CXXFLAGS) … … 2142 2142 TEMPLATE_VBOXR0DRV_DEFS.amd64 = _AMD64_ 2143 2143 ifdef VBOX_USE_VCC80 2144 TEMPLATE_VBOXR0DRV_CXXFLAGS = -Zi -Zl -GR- - GS- -EHs-c- -GF- -Gz -W3-wd4996 -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP)2144 TEMPLATE_VBOXR0DRV_CXXFLAGS = -Zi -Zl -GR- -EHs- -GF -Gz -W3 -GS- -wd4996 -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP) 2145 2145 else 2146 TEMPLATE_VBOXR0DRV_CXXFLAGS = -Zi -Zl -GR- - GX- -GF--Gz -W3 $(VBOX_VCC_OPT) $(VBOX_VCC_FP)2146 TEMPLATE_VBOXR0DRV_CXXFLAGS = -Zi -Zl -GR- -EHs- -GF -Gz -W3 $(VBOX_VCC_OPT) $(VBOX_VCC_FP) 2147 2147 endif 2148 2148 TEMPLATE_VBOXR0DRV_CFLAGS = $(TEMPLATE_VBOXR0DRV_CXXFLAGS) … … 2374 2374 TEMPLATE_VBOXR3EXE_SDKS = WINPSDK 2375 2375 ifdef VBOX_USE_VCC80 2376 TEMPLATE_VBOXR3EXE_CXXFLAGS = -Zi -Zl -GR- -EHs -c- -GF--MD -W3 -wd4065 -wd4244 -wd4996 -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP)2376 TEMPLATE_VBOXR3EXE_CXXFLAGS = -Zi -Zl -GR- -EHsc -GF -MD -W3 -wd4065 -wd4244 -wd4996 -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP) 2377 2377 TEMPLATE_VBOXR3EXE_CXXFLAGS.debug = -RTCsu 2378 2378 else 2379 TEMPLATE_VBOXR3EXE_CXXFLAGS = -Zi -Zl -GR- - GX- -GF--MD -W3 -wd4065 -wd4244 $(VBOX_VCC_OPT) $(VBOX_VCC_FP)2379 TEMPLATE_VBOXR3EXE_CXXFLAGS = -Zi -Zl -GR- -EHsc -GF -MD -W3 -wd4065 -wd4244 $(VBOX_VCC_OPT) $(VBOX_VCC_FP) 2380 2380 TEMPLATE_VBOXR3EXE_CXXFLAGS.debug = -GZ 2381 2381 endif … … 2475 2475 # Template for building R3 shared objects / DLLs. 2476 2476 # This is mostly identical to the VBOXR3EXE template. (Avoid PIC if possible!) 2477 # 2478 TEMPLATE_VBOXR3 = VBox Ring 3 SO/DLLs2479 TEMPLATE_VBOXR3_EXTENDS = VBOXR3EXE2480 TEMPLATE_VBOXR3_LDFLAGS.l4 = $(L4_LIBDIR)/../crt0.s.o -T$(L4_LIBDIR)/../main_rel.ld -nostdlib2481 TEMPLATE_VBOXR3_DEFS.l4 = $(TEMPLATE_VBOXR3EXE_DEFS.l4) __PIC__2482 TEMPLATE_VBOXR3_DEFS.darwin = $(TEMPLATE_VBOXR3EXE_DEFS.darwin) PIC2483 TEMPLATE_VBOXR3_LDFLAGS.darwin = $(TEMPLATE_VBOXR3EXE_LDFLAGS.darwin) -current_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)2477 # - 2478 TEMPLATE_VBOXR3 = VBox Ring 3 SO/DLLs 2479 TEMPLATE_VBOXR3_EXTENDS = VBOXR3EXE 2480 TEMPLATE_VBOXR3_LDFLAGS.l4 = $(L4_LIBDIR)/../crt0.s.o -T$(L4_LIBDIR)/../main_rel.ld -nostdlib 2481 TEMPLATE_VBOXR3_DEFS.l4 = $(TEMPLATE_VBOXR3EXE_DEFS.l4) __PIC__ 2482 TEMPLATE_VBOXR3_DEFS.darwin = $(TEMPLATE_VBOXR3EXE_DEFS.darwin) PIC 2483 TEMPLATE_VBOXR3_LDFLAGS.darwin = $(TEMPLATE_VBOXR3EXE_LDFLAGS.darwin) -current_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) 2484 2484 ifeq ($(filter-out solaris.x86 %.amd64,$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)),) 2485 2485 ifn1of ($(KBUILD_TARGET), darwin win) 2486 TEMPLATE_VBOXR3_DEFS = $(TEMPLATE_VBOXR3EXE_DEFS) PIC2487 TEMPLATE_VBOXR3_CFLAGS = $(TEMPLATE_VBOXR3EXE_CFLAGS) -fPIC2488 TEMPLATE_VBOXR3_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS) -fPIC2489 TEMPLATE_VBOXR3_LDFLAGS = $(TEMPLATE_VBOXR3EXE_LDFLAGS) -fPIC2486 TEMPLATE_VBOXR3_DEFS = $(TEMPLATE_VBOXR3EXE_DEFS) PIC 2487 TEMPLATE_VBOXR3_CFLAGS = $(TEMPLATE_VBOXR3EXE_CFLAGS) -fPIC 2488 TEMPLATE_VBOXR3_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS) -fPIC 2489 TEMPLATE_VBOXR3_LDFLAGS = $(TEMPLATE_VBOXR3EXE_LDFLAGS) -fPIC 2490 2490 endif 2491 2491 endif … … 2495 2495 # libraries they link with. 2496 2496 # 2497 TEMPLATE_VBOXR3STATIC = VBox Static Ring 3 EXE2498 TEMPLATE_VBOXR3STATIC_EXTENDS = VBOXR3EXE2497 TEMPLATE_VBOXR3STATIC = VBox Static Ring 3 EXE 2498 TEMPLATE_VBOXR3STATIC_EXTENDS = VBOXR3EXE 2499 2499 ifeq ($(KBUILD_TARGET),win) 2500 TEMPLATE_VBOXR3STATIC_CFLAGS = $(filter-out -MD, $(TEMPLATE_VBOXR3EXE_CFLAGS)) -MT2501 TEMPLATE_VBOXR3STATIC_CXXFLAGS = $(filter-out -MD, $(TEMPLATE_VBOXR3EXE_CFLAGS)) -MT2502 TEMPLATE_VBOXR3STATIC_LDFLAGS = $(filter-out /DISALLOWLIB:libcmt.lib, $(TEMPLATE_VBOXR3EXE_LDFLAGS)) \2500 TEMPLATE_VBOXR3STATIC_CFLAGS = $(filter-out -MD, $(TEMPLATE_VBOXR3EXE_CFLAGS)) -MT 2501 TEMPLATE_VBOXR3STATIC_CXXFLAGS = $(filter-out -MD, $(TEMPLATE_VBOXR3EXE_CFLAGS)) -MT 2502 TEMPLATE_VBOXR3STATIC_LDFLAGS = $(filter-out /DISALLOWLIB:libcmt.lib, $(TEMPLATE_VBOXR3EXE_LDFLAGS)) \ 2503 2503 /DISALLOWLIB:msvcrt.lib \ 2504 2504 /DISALLOWLIB:msvcprt.lib 2505 TEMPLATE_VBOXR3STATIC_LIBS = \2505 TEMPLATE_VBOXR3STATIC_LIBS = \ 2506 2506 $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL)_LIB)/oldnames.lib \ 2507 2507 $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL)_LIB)/libcmt.lib \ … … 2509 2509 else ifn1of ($(KBUILD_TARGET), darwin) 2510 2510 # The gcc guys sans darwin. 2511 TEMPLATE_VBOXR3STATIC_CFLAGS = $(TEMPLATE_VBOXR3EXE_CFLAGS) -static 2512 TEMPLATE_VBOXR3STATIC_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS) -static 2513 TEMPLATE_VBOXR3STATIC_OBJCFLAGS= $(TEMPLATE_VBOXR3EXE_OBJCFLAGS) -static 2514 TEMPLATE_VBOXR3STATIC_LDFLAGS = $(TEMPLATE_VBOXR3EXE_LDFLAGS) -static 2511 TEMPLATE_VBOXR3STATIC_CFLAGS = $(TEMPLATE_VBOXR3EXE_CFLAGS) -static 2512 TEMPLATE_VBOXR3STATIC_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS) -static 2513 TEMPLATE_VBOXR3STATIC_OBJCFLAGS = $(TEMPLATE_VBOXR3EXE_OBJCFLAGS) -static 2514 TEMPLATE_VBOXR3STATIC_LDFLAGS = $(TEMPLATE_VBOXR3EXE_LDFLAGS) -static 2515 endif 2516 2517 # 2518 # Same as VBOXR3EXE but without C++ exceptions. 2519 # 2520 # VBOXR3EXE does C++ exceptions and may assumes that extern "C" functions 2521 # doesn't throw them. Use this template (and VBOXR3DLLNOXCPT) with care 2522 # and only where the C++ overhead is really unwanted. 2523 # 2524 TEMPLATE_VBOXR3EXENOXCPT = VBox Ring 3 Exe without C++ exception 2525 TEMPLATE_VBOXR3EXENOXCPT_EXTENDS = VBOXR3EXE 2526 ifeq ($(KBUILD_TARGET),win) 2527 TEMPLATE_VBOXR3EXENOXCPT_CFLAGS = $(filter-out -EH%,$(TEMPLATE_VBOXR3EXE_CFLAGS) ) -EHs- 2528 TEMPLATE_VBOXR3EXENOXCPT_CXXFLAGS = $(filter-out -EH%,$(TEMPLATE_VBOXR3EXE_CXXFLAGS)) -EHs- 2529 else 2530 TEMPLATE_VBOXR3EXENOXCPT_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS) -fno-exceptions 2531 endif 2532 2533 # 2534 # Same as VBOXR3 but without C++ exceptions. 2535 # 2536 TEMPLATE_VBOXR3DLLNOXCPT = VBox Ring 3 SO/DLLs without C++ exception 2537 TEMPLATE_VBOXR3DLLNOXCPT_EXTENDS = VBOXR3 2538 ifeq ($(KBUILD_TARGET),win) 2539 TEMPLATE_VBOXR3DLLNOXCPT_CFLAGS = $(filter-out -EH%,$(TEMPLATE_VBOXR3_CFLAGS) ) -EHs- 2540 TEMPLATE_VBOXR3DLLNOXCPT_CXXFLAGS = $(filter-out -EH%,$(TEMPLATE_VBOXR3_CXXFLAGS)) -EHs- 2541 else 2542 TEMPLATE_VBOXR3DLLNOXCPT_CXXFLAGS = $(TEMPLATE_VBOXR3_CXXFLAGS) -fno-exceptions 2515 2543 endif 2516 2544 … … 2735 2763 ifdef VBOX_USE_VCC80 2736 2764 TEMPLATE_VBOXMAINEXE_TOOL = $(VBOX_VCC_TOOL) 2737 TEMPLATE_VBOXMAINEXE_CXXFLAGS = -Zi -Zl -GR - GF- -MD -EHsc-W3 -wd4065 -wd4996 -wd4250 -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP)2765 TEMPLATE_VBOXMAINEXE_CXXFLAGS = -Zi -Zl -GR -EHsc -GF -MD -W3 -wd4065 -wd4996 -wd4250 -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP) 2738 2766 TEMPLATE_VBOXMAINEXE_CXXFLAGS.debug = -RTCsu 2739 2767 else 2740 2768 TEMPLATE_VBOXMAINEXE_TOOL = VCC70 2741 TEMPLATE_VBOXMAINEXE_CXXFLAGS = -Zi -Zl -GR - GX- -GF- -MD -EHsc-W3 -wd4065 -wd4250 $(VBOX_VCC_OPT) $(VBOX_VCC_FP)2769 TEMPLATE_VBOXMAINEXE_CXXFLAGS = -Zi -Zl -GR -EHsc -GF -MD -W3 -wd4065 -wd4250 $(VBOX_VCC_OPT) $(VBOX_VCC_FP) 2742 2770 TEMPLATE_VBOXMAINEXE_CXXFLAGS.debug = -GZ 2743 2771 endif … … 3200 3228 endif 3201 3229 ifneq ($(TEMPLATE_VBOXBLDPROG_TOOL),VCC70) 3202 TEMPLATE_VBOXBLDPROG_CXXFLAGS = -Zi -Zl -GR- -EHs- c- -GF--MT -W3 -wd4996 -Zc:wchar_t-3230 TEMPLATE_VBOXBLDPROG_CXXFLAGS = -Zi -Zl -GR- -EHs- -GF -MT -W3 -wd4996 -Zc:wchar_t- 3203 3231 TEMPLATE_VBOXBLDPROG_CXXFLAGS.debug = -RTCsu 3204 3232 TEMPLATE_VBOXBLDPROG_CXXFLAGS.release = -O2 -Oy- -GS- 3205 3233 else 3206 TEMPLATE_VBOXBLDPROG_CXXFLAGS = -Zi -Zl -GR- - GX- -GF--MT -W33234 TEMPLATE_VBOXBLDPROG_CXXFLAGS = -Zi -Zl -GR- -EHs- -GF -MT -W3 3207 3235 TEMPLATE_VBOXBLDPROG_CXXFLAGS.debug = -GZ 3208 3236 TEMPLATE_VBOXBLDPROG_CXXFLAGS.release = -Ogitb2 -Oy- -
trunk/src/VBox/Disassembler/DisasmInternal.h
r13832 r18422 86 86 extern PFNDISPARSE pfnCalcSize[IDX_ParseMax]; 87 87 88 89 __BEGIN_DECLS90 88 91 89 unsigned ParseInstruction(RTUINTPTR pu8CodeBlock, PCOPCODE pOp, PDISCPUSTATE pCpu); … … 178 176 size_t disFormatBytes(PCDISCPUSTATE pCpu, char *pszDst, size_t cchDst, uint32_t fFlags); 179 177 180 __END_DECLS181 182 178 #endif /* !___DisasmInternal_h___ */ 183 179 -
trunk/src/VBox/Disassembler/Makefile.kmk
r12989 r18422 32 32 DisasmR3_TEMPLATE = VBOXR3 33 33 DisasmR3_DEFS = IN_DIS 34 ifeq ($(KBUILD_TARGET),win)35 DisasmR3_CXXFLAGS += -EHa36 else ifneq ($(KBUILD_TARGET),l4)37 DisasmR3_CXXFLAGS += -fexceptions38 endif39 34 DisasmR3_SOURCES = \ 40 35 Disasm.cpp \ -
trunk/src/VBox/Frontends/VBoxBFE/Makefile.kmk
r16012 r18422 46 46 # VBoxBFE 47 47 # 48 VBoxBFE_TEMPLATE = 49 VBoxBFE_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXR3NP,VBOXR3NPEXE) 48 VBoxBFE_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXR3NP,VBOXR3NPEXE) 50 49 #ifdef VBOX_WITH_SECURELABEL 51 50 #VBoxBFE_DEFS += VBOX_SECURELABEL … … 153 152 VBoxBFE_LDFLAGS.darwin = -framework Foundation -framework AppKit 154 153 155 VBoxBFE_CXXFLAGS.win = \ 156 -EHsc 154 VBoxBFE_CXXFLAGS.l4 += -fno-rtti -nostdinc -Wno-non-virtual-dtor \ 155 $(addprefix -I,$(VBOX_L4_GCC3_INCS) $(L4_INCDIR)) 156 ## @todo why is it all this cool stuff here only for linux? If it's important, -fshort-wchar would apply to all GCC platforms. 157 157 VBoxBFE_DEFS.linux = \ 158 158 NDEBUG TRIMMED 159 159 VBoxBFE_CXXFLAGS.linux = \ 160 160 -fno-rtti -fno-exceptions -fshort-wchar -pthread 161 VBoxBFE_CXXFLAGS.l4 += -fno-rtti -nostdinc -Wno-non-virtual-dtor \162 $(addprefix -I,$(VBOX_L4_GCC3_INCS) $(L4_INCDIR))163 161 164 162 VBoxBFE_CLEAN = $(PATH_VBoxBFE)/Ico64x01.h -
trunk/src/VBox/Frontends/VBoxSDL/Makefile.kmk
r16012 r18422 162 162 -framework Foundation -framework AppKit 163 163 164 tstSDL_CXXFLAGS.win = \ 165 -EHsc 166 tstSDL_CXXFLAGS.linux = \ 167 -DNDEBUG -DTRIMMED -O -Wall -fno-rtti -fno-exceptions \ 168 -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe 164 ## @todo What was this stuff doing here? The exception config is saying two different things, and why just -O for release builds? 165 #tstSDL_CXXFLAGS.win = \ 166 # -EHsc 167 #tstSDL_CXXFLAGS.linux = \ 168 # -DNDEBUG -DTRIMMED -O -Wall -fno-rtti -fno-exceptions \ 169 # -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe 170 # Is this what's intended? Why -fshort-wchar? 171 tstSDL_DEFS.linux = NDEBUG TRIMMED 172 tstSDL_CXXFLAGS.linux = -O -Wall -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar 169 173 170 174 -
trunk/src/VBox/HostServices/GuestProperties/Makefile.kmk
r13916 r18422 37 37 $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_INC) \ 38 38 $(VBOX_PATH_SDK) 39 # For now!40 VBoxGuestPropSvc_CXXFLAGS.win = -EHsc41 39 42 40 VBoxGuestPropSvc_SOURCES = \ -
trunk/src/VBox/HostServices/GuestProperties/testcase/Makefile.kmk
r14104 r18422 34 34 tstGuestPropSvc_SOURCES = tstGuestPropSvc.cpp ../service.cpp 35 35 tstGuestPropSvc_LIBS = $(LIB_RUNTIME) 36 # For now!37 tstGuestPropSvc_CXXFLAGS.win = -EHsc38 36 39 37 # Set this in LocalConfig.kmk if you are working on the guest property service -
trunk/src/VBox/Main/webservice/Makefile.kmk
r18147 r18422 184 184 LIBRARIES += vboxsoap 185 185 vboxsoap_TEMPLATE = VBOXR3EXE 186 vboxsoap_CXXFLAGS.win = -EHsc187 186 ifdef VBOX_USE_VCC80 188 187 vboxsoap_CXXFLAGS.win += -bigobj … … 253 252 $(VBOXWEB_OUT_DIR) \ 254 253 . 255 vboxwebsrv_CXXFLAGS.win = -EHsc ## @todo need to fix this template one day256 254 ifdef VBOX_USE_VCC80 257 255 vboxwebsrv_CXXFLAGS.win += -bigobj … … 278 276 PROGRAMS += webtest 279 277 webtest_TEMPLATE = VBOXR3EXE 280 webtest_CXXFLAGS.win = -EHsc281 278 ifdef VBOX_USE_VCC80 282 279 webtest_CXXFLAGS.win += -bigobj
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器