Changeset 2887 in vbox
- Timestamp:
- May 27, 2007 5:04:31 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r2825 r2887 103 103 104 104 # Notify about important kBuild updates. 105 ifneq ($(call int-ge,$(KMK_REVISION), 897),1)105 ifneq ($(call int-ge,$(KMK_REVISION),972),1) 106 106 $(error You must update kBuild!) 107 107 endif … … 457 457 TOOL_MINGW32_CFLAGS := $(UNDEFINED) # override -g 458 458 else ifeq ($(BUILD_TARGET),os2) 459 VBOX_GCC_TOOL := G CC3OMF459 VBOX_GCC_TOOL := GXX3OMF 460 460 else ifeq ($(BUILD_TARGET),darwin) 461 VBOX_GCC_TOOL := G CC4MACHO462 else 463 VBOX_GCC_TOOL := G CC3461 VBOX_GCC_TOOL := GXX4MACHO 462 else 463 VBOX_GCC_TOOL := GXX3 464 464 ifeq ($(BUILD_TARGET),$(BUILD_PLATFORM)) 465 465 ifneq ($(BUILD_TARGET_ARCH),$(BUILD_PLATFORM_ARCH)) 466 VBOX_GCC_TOOL := G CC32466 VBOX_GCC_TOOL := GXX32 467 467 VBOX_WITH_VBOXDRV= 468 468 VBOX_WITH_LINUX_ADDITIONS= … … 478 478 VBOX_GCC32_TOOL := MINGW32 479 479 else 480 VBOX_GCC32_TOOL := G CC32480 VBOX_GCC32_TOOL := GXX32 481 481 endif 482 482 endif … … 1173 1173 1174 1174 ifeq ($(VBOX_LDR_FMT32),macho) 1175 TEMPLATE_VBOXGC_TOOL = G CC4MACHO1175 TEMPLATE_VBOXGC_TOOL = GXX4MACHO 1176 1176 TEMPLATE_VBOXGC_CXXFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC32_Wno-variadic-macros) -pipe -fno-common -msoft-float -static -fno-exceptions -fno-rtti $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -fno-strict-aliasing 1177 1177 TEMPLATE_VBOXGC_CFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC32_Wno-variadic-macros) -pipe -fno-common -msoft-float -static -Wno-trigraphs -Wmissing-prototypes -Wstrict-prototypes $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -fno-strict-aliasing … … 1181 1181 1182 1182 ifeq ($(VBOX_LDR_FMT32),lx) 1183 TEMPLATE_VBOXGC_TOOL = G CC3OMF1183 TEMPLATE_VBOXGC_TOOL = GXX3OMF 1184 1184 TEMPLATE_VBOXGC_CXXFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC32_Wno-variadic-macros) -pipe -fno-exceptions -fno-rtti $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -fno-strict-aliasing 1185 1185 TEMPLATE_VBOXGC_CFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC32_Wno-variadic-macros) -pipe -Wmissing-prototypes -Wstrict-prototypes $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -fno-strict-aliasing … … 1270 1270 1271 1271 ifeq ($(VBOX_LDR_FMT),macho) 1272 TEMPLATE_VBOXR0_TOOL = G CC4MACHO1272 TEMPLATE_VBOXR0_TOOL = GXX4MACHO 1273 1273 TEMPLATE_VBOXR0_CXXFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC_Wno-variadic-macros) -pipe -fno-common -msoft-float -static -fno-rtti -fno-exceptions $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing 1274 1274 TEMPLATE_VBOXR0_CFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC_Wno-variadic-macros) -pipe -fno-common -msoft-float -static -Wmissing-prototypes -Wstrict-prototypes $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing … … 1278 1278 1279 1279 ifeq ($(VBOX_LDR_FMT),lx) 1280 TEMPLATE_VBOXR0_TOOL = G CC3OMF1280 TEMPLATE_VBOXR0_TOOL = GXX3OMF 1281 1281 TEMPLATE_VBOXR0_CFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC_Wno-variadic-macros) -pipe -Wmissing-prototypes -Wstrict-prototypes $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing 1282 1282 TEMPLATE_VBOXR0_CXXFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC_Wno-variadic-macros) -pipe -fno-rtti -fno-exceptions $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing … … 1343 1343 1344 1344 ifeq ($(BUILD_TARGET),os2) 1345 TEMPLATE_VBOXR0DRV_TOOL = G CC3OMF1345 TEMPLATE_VBOXR0DRV_TOOL = GXX3OMF 1346 1346 TEMPLATE_VBOXR0DRV_CXXFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC_Wno-variadic-macros) -pipe $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing -fno-rtti -fno-exceptions 1347 1347 TEMPLATE_VBOXR0DRV_CFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC_Wno-variadic-macros) -pipe -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations $(VBOX_GCC_OPT) $(VBOX_GCC_FP) -fno-strict-aliasing … … 1352 1352 1353 1353 ifeq ($(BUILD_TARGET),darwin) 1354 TEMPLATE_VBOXR0DRV_TOOL = G CC4MACHO1354 TEMPLATE_VBOXR0DRV_TOOL = GXX4MACHO 1355 1355 TEMPLATE_VBOXR0DRV_DEFS += KERNEL KERNEL_PRIVATE DRIVER_PRIVATE APPLE NeXT 1356 1356 TEMPLATE_VBOXR0DRV_INCS += \ … … 1475 1475 $(L4_LIBDIR)/libuc.0.s.so 1476 1476 else ifeq ($(BUILD_TARGET),os2) 1477 TEMPLATE_VBOXR3EXE_TOOL = G CC3OMF1477 TEMPLATE_VBOXR3EXE_TOOL = GXX3OMF 1478 1478 TEMPLATE_VBOXR3EXE_LIBS = socket iconv 1479 1479 else ifeq ($(BUILD_TARGET),darwin) 1480 TEMPLATE_VBOXR3EXE_TOOL = G CC4MACHO1480 TEMPLATE_VBOXR3EXE_TOOL = GXX4MACHO 1481 1481 TEMPLATE_VBOXR3EXE_LIBS = 1482 1482 TEMPLATE_VBOXR3EXE_LDFLAGS = -read_only_relocs suppress 1483 1483 TEMPLATE_VBOXR3EXE_INCS += $(VBOX_PATH_MACOSX_SDK_INCS) 1484 1484 else ifeq ($(filter-out freebsd netbsd openbsd,$(BUILD_TARGET)),) 1485 TEMPLATE_VBOXR3EXE_TOOL = G CC31485 TEMPLATE_VBOXR3EXE_TOOL = GXX3 1486 1486 TEMPLATE_VBOXR3EXE_LIBS = pthread 1487 1487 else ifeq ($(BUILD_TARGET),solaris) 1488 1488 $(warning Warning: VBOX Build: Target $(BUILD_TARGET) is not officially supported!) 1489 TEMPLATE_VBOXR3EXE_TOOL = G CC3PLAIN1489 TEMPLATE_VBOXR3EXE_TOOL = GXX3PLAIN 1490 1490 TEMPLATE_VBOXR3EXE_LIBS = rt 1491 1491 else … … 1692 1692 # no libs as yet in l4 target - must be added later 1693 1693 else ifeq ($(BUILD_TARGET),os2) 1694 TEMPLATE_VBOXMAINEXE_TOOL = G CC3OMF1694 TEMPLATE_VBOXMAINEXE_TOOL = GXX3OMF 1695 1695 TEMPLATE_VBOXMAINEXE_LIBS = $(LIB_RUNTIME) 1696 1696 else ifeq ($(BUILD_TARGET),darwin) 1697 TEMPLATE_VBOXMAINEXE_TOOL = G CC4MACHO1697 TEMPLATE_VBOXMAINEXE_TOOL = GXX4MACHO 1698 1698 TEMPLATE_VBOXMAINEXE_LIBS = $(LIB_RUNTIME) 1699 1699 TEMPLATE_VBOXMAINEXE_LDFLAGS.darwin = -bind_at_load -framework Carbon 1700 1700 else ifeq ($(filter-out freebsd netbsd openbsd,$(BUILD_TARGET)),) 1701 TEMPLATE_VBOXMAINEXE_TOOL = G CC31701 TEMPLATE_VBOXMAINEXE_TOOL = GXX3 1702 1702 TEMPLATE_VBOXMAINEXE_LIBS = $(LIB_RUNTIME) 1703 1703 TEMPLATE_VBOXMAINEXE_INCS += $(VBOX_PATH_MACOSX_SDK_INCS) 1704 1704 else ifeq ($(BUILD_TARGET),solaris) 1705 1705 $(warning Warning: VBOX Build: Target $(BUILD_TARGET) is not officially supported!) 1706 TEMPLATE_VBOXMAINEXE_TOOL = G CC3PLAIN1706 TEMPLATE_VBOXMAINEXE_TOOL = GXX3PLAIN 1707 1707 TEMPLATE_VBOXMAINEXE_LIBS = $(LIB_RUNTIME) rt 1708 1708 else … … 1941 1941 else 1942 1942 # (gcc of some kind ) 1943 TEMPLATE_VBOXBLDPROG_TOOL = G CC31943 TEMPLATE_VBOXBLDPROG_TOOL = GXX3 1944 1944 TEMPLATE_VBOXBLDPROG_CFLAGS = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC_Wno-variadic-macros) -pipe -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations 1945 1945 TEMPLATE_VBOXBLDPROG_CFLAGS.debug = -fno-inline … … 1955 1955 TEMPLATE_VBOXBLDPROG_LIBS = pthread m rt dl 1956 1956 else ifeq ($(BUILD_PLATFORM),os2) 1957 TEMPLATE_VBOXBLDPROG_TOOL = G CC3OMF1957 TEMPLATE_VBOXBLDPROG_TOOL = GXX3OMF 1958 1958 TEMPLATE_VBOXBLDPROG_LIBS = socket iconv 1959 1959 else ifeq ($(BUILD_PLATFORM),darwin) 1960 TEMPLATE_VBOXBLDPROG_TOOL = G CC4MACHO1960 TEMPLATE_VBOXBLDPROG_TOOL = GXX4MACHO 1961 1961 TEMPLATE_VBOXBLDPROG_LIBS = 1962 1962 TEMPLATE_VBOXBLDPROG_INCS += $(VBOX_PATH_MACOSX_SDK_INCS) 1963 1963 else ifeq ($(filter-out freebsd netbsd openbsd,$(BUILD_PLATFORM)),) 1964 TEMPLATE_VBOXBLDPROG_TOOL = G CC31964 TEMPLATE_VBOXBLDPROG_TOOL = GXX3 1965 1965 TEMPLATE_VBOXBLDPROG_LIBS = 1966 1966 else ifeq ($(BUILD_PLATFORM),solaris) 1967 1967 $(warning Warning: VBOX Build: Target $(BUILD_PLATFORM) is not officially supported!) 1968 TEMPLATE_VBOXBLDPROG_TOOL = G CC3PLAIN1968 TEMPLATE_VBOXBLDPROG_TOOL = GXX3PLAIN 1969 1969 TEMPLATE_VBOXBLDPROG_LIBS = rt 1970 1970 else -
trunk/src/recompiler/Makefile.kmk
r2482 r2887 80 80 dyngen_BLD_TRG_ARCH = x86 81 81 dyngen_BLD_TRG_CPU = i386 82 dyngen_CFLAGS = -Wall -g -fno-strict-aliasing 82 dyngen_CFLAGS = -Wall -g -fno-strict-aliasing 83 83 ifeq ($(BUILD_TARGET_ARCH),amd64) 84 84 dyngen_DEFS += HOST_X86_64=1 … … 165 165 else # !REM_USE_NOCRT 166 166 167 $(REM_MOD)_TOOL = G CC3167 $(REM_MOD)_TOOL = GXX3 168 168 $(REM_MOD)_TOOL.win.x86 = MINGW32 169 169 $(REM_MOD)_TOOL.win.amd64 = XGCCAMD64LINUX … … 226 226 ## @todo This is a bit messy because of MINGW32. 227 227 #BLDPROGS += testmath 228 testmath_TOOL = G CC3228 testmath_TOOL = GXX3 229 229 testmath_TOOL.win.x86 = MINGW32 230 230 testmath_SDKS.win.x86 = W32API
Note:
See TracChangeset
for help on using the changeset viewer.