VirtualBox

Changeset 2887 in vbox


Ignore:
Timestamp:
May 27, 2007 5:04:31 PM (18 years ago)
Author:
vboxsync
Message:

Tool renaming: GCC -> GXX (GCC will later be change to use gcc instead of G++ as linker)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r2825 r2887  
    103103
    104104# Notify about important kBuild updates.
    105 ifneq ($(call int-ge,$(KMK_REVISION),897),1)
     105ifneq ($(call int-ge,$(KMK_REVISION),972),1)
    106106 $(error You must update kBuild!)
    107107endif
     
    457457  TOOL_MINGW32_CFLAGS := $(UNDEFINED) # override -g
    458458 else ifeq ($(BUILD_TARGET),os2)
    459   VBOX_GCC_TOOL := GCC3OMF
     459  VBOX_GCC_TOOL := GXX3OMF
    460460 else ifeq ($(BUILD_TARGET),darwin)
    461   VBOX_GCC_TOOL := GCC4MACHO
    462  else
    463   VBOX_GCC_TOOL := GCC3
     461  VBOX_GCC_TOOL := GXX4MACHO
     462 else
     463  VBOX_GCC_TOOL := GXX3
    464464  ifeq ($(BUILD_TARGET),$(BUILD_PLATFORM))
    465465   ifneq ($(BUILD_TARGET_ARCH),$(BUILD_PLATFORM_ARCH))
    466     VBOX_GCC_TOOL := GCC32
     466    VBOX_GCC_TOOL := GXX32
    467467    VBOX_WITH_VBOXDRV=
    468468    VBOX_WITH_LINUX_ADDITIONS=
     
    478478  VBOX_GCC32_TOOL := MINGW32
    479479 else
    480   VBOX_GCC32_TOOL := GCC32
     480  VBOX_GCC32_TOOL := GXX32
    481481 endif
    482482endif
     
    11731173
    11741174ifeq ($(VBOX_LDR_FMT32),macho)
    1175 TEMPLATE_VBOXGC_TOOL                = GCC4MACHO
     1175TEMPLATE_VBOXGC_TOOL                = GXX4MACHO
    11761176TEMPLATE_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
    11771177TEMPLATE_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
     
    11811181
    11821182ifeq ($(VBOX_LDR_FMT32),lx)
    1183 TEMPLATE_VBOXGC_TOOL                = GCC3OMF
     1183TEMPLATE_VBOXGC_TOOL                = GXX3OMF
    11841184TEMPLATE_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
    11851185TEMPLATE_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
     
    12701270
    12711271ifeq ($(VBOX_LDR_FMT),macho)
    1272 TEMPLATE_VBOXR0_TOOL                = GCC4MACHO
     1272TEMPLATE_VBOXR0_TOOL                = GXX4MACHO
    12731273TEMPLATE_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
    12741274TEMPLATE_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
     
    12781278
    12791279ifeq ($(VBOX_LDR_FMT),lx)
    1280 TEMPLATE_VBOXR0_TOOL                = GCC3OMF
     1280TEMPLATE_VBOXR0_TOOL                = GXX3OMF
    12811281TEMPLATE_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
    12821282TEMPLATE_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
     
    13431343
    13441344ifeq ($(BUILD_TARGET),os2)
    1345 TEMPLATE_VBOXR0DRV_TOOL                = GCC3OMF
     1345TEMPLATE_VBOXR0DRV_TOOL                = GXX3OMF
    13461346TEMPLATE_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
    13471347TEMPLATE_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
     
    13521352
    13531353ifeq ($(BUILD_TARGET),darwin)
    1354 TEMPLATE_VBOXR0DRV_TOOL                = GCC4MACHO
     1354TEMPLATE_VBOXR0DRV_TOOL                = GXX4MACHO
    13551355TEMPLATE_VBOXR0DRV_DEFS               += KERNEL KERNEL_PRIVATE DRIVER_PRIVATE APPLE NeXT
    13561356TEMPLATE_VBOXR0DRV_INCS               += \
     
    14751475        $(L4_LIBDIR)/libuc.0.s.so
    14761476 else ifeq ($(BUILD_TARGET),os2)
    1477 TEMPLATE_VBOXR3EXE_TOOL                = GCC3OMF
     1477TEMPLATE_VBOXR3EXE_TOOL                = GXX3OMF
    14781478TEMPLATE_VBOXR3EXE_LIBS                = socket iconv
    14791479 else ifeq ($(BUILD_TARGET),darwin)
    1480 TEMPLATE_VBOXR3EXE_TOOL                = GCC4MACHO
     1480TEMPLATE_VBOXR3EXE_TOOL                = GXX4MACHO
    14811481TEMPLATE_VBOXR3EXE_LIBS                =
    14821482TEMPLATE_VBOXR3EXE_LDFLAGS             = -read_only_relocs suppress
    14831483TEMPLATE_VBOXR3EXE_INCS               += $(VBOX_PATH_MACOSX_SDK_INCS)
    14841484 else ifeq ($(filter-out freebsd netbsd openbsd,$(BUILD_TARGET)),)
    1485 TEMPLATE_VBOXR3EXE_TOOL                = GCC3
     1485TEMPLATE_VBOXR3EXE_TOOL                = GXX3
    14861486TEMPLATE_VBOXR3EXE_LIBS                = pthread
    14871487 else ifeq ($(BUILD_TARGET),solaris)
    14881488$(warning Warning: VBOX Build: Target $(BUILD_TARGET) is not officially supported!)
    1489 TEMPLATE_VBOXR3EXE_TOOL                = GCC3PLAIN
     1489TEMPLATE_VBOXR3EXE_TOOL                = GXX3PLAIN
    14901490TEMPLATE_VBOXR3EXE_LIBS                = rt
    14911491 else
     
    16921692# no libs as yet in l4 target - must be added later
    16931693 else ifeq ($(BUILD_TARGET),os2)
    1694 TEMPLATE_VBOXMAINEXE_TOOL                = GCC3OMF
     1694TEMPLATE_VBOXMAINEXE_TOOL                = GXX3OMF
    16951695TEMPLATE_VBOXMAINEXE_LIBS                = $(LIB_RUNTIME)
    16961696 else ifeq ($(BUILD_TARGET),darwin)
    1697 TEMPLATE_VBOXMAINEXE_TOOL                = GCC4MACHO
     1697TEMPLATE_VBOXMAINEXE_TOOL                = GXX4MACHO
    16981698TEMPLATE_VBOXMAINEXE_LIBS                = $(LIB_RUNTIME)
    16991699TEMPLATE_VBOXMAINEXE_LDFLAGS.darwin      = -bind_at_load -framework Carbon
    17001700 else ifeq ($(filter-out freebsd netbsd openbsd,$(BUILD_TARGET)),)
    1701 TEMPLATE_VBOXMAINEXE_TOOL                = GCC3
     1701TEMPLATE_VBOXMAINEXE_TOOL                = GXX3
    17021702TEMPLATE_VBOXMAINEXE_LIBS                = $(LIB_RUNTIME)
    17031703TEMPLATE_VBOXMAINEXE_INCS               += $(VBOX_PATH_MACOSX_SDK_INCS)
    17041704 else ifeq ($(BUILD_TARGET),solaris)
    17051705$(warning Warning: VBOX Build: Target $(BUILD_TARGET) is not officially supported!)
    1706 TEMPLATE_VBOXMAINEXE_TOOL                = GCC3PLAIN
     1706TEMPLATE_VBOXMAINEXE_TOOL                = GXX3PLAIN
    17071707TEMPLATE_VBOXMAINEXE_LIBS                = $(LIB_RUNTIME) rt
    17081708 else
     
    19411941else
    19421942# (gcc of some kind )
    1943 TEMPLATE_VBOXBLDPROG_TOOL                = GCC3
     1943TEMPLATE_VBOXBLDPROG_TOOL                = GXX3
    19441944TEMPLATE_VBOXBLDPROG_CFLAGS              = -g -Wall -pedantic -Wno-long-long -Wno-trigraphs $(VBOX_GCC_Wno-variadic-macros) -pipe  -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
    19451945TEMPLATE_VBOXBLDPROG_CFLAGS.debug        = -fno-inline
     
    19551955TEMPLATE_VBOXBLDPROG_LIBS                = pthread m rt dl
    19561956 else ifeq ($(BUILD_PLATFORM),os2)
    1957 TEMPLATE_VBOXBLDPROG_TOOL                = GCC3OMF
     1957TEMPLATE_VBOXBLDPROG_TOOL                = GXX3OMF
    19581958TEMPLATE_VBOXBLDPROG_LIBS                = socket iconv
    19591959 else ifeq ($(BUILD_PLATFORM),darwin)
    1960 TEMPLATE_VBOXBLDPROG_TOOL                = GCC4MACHO
     1960TEMPLATE_VBOXBLDPROG_TOOL                = GXX4MACHO
    19611961TEMPLATE_VBOXBLDPROG_LIBS                =
    19621962TEMPLATE_VBOXBLDPROG_INCS               += $(VBOX_PATH_MACOSX_SDK_INCS)
    19631963 else ifeq ($(filter-out freebsd netbsd openbsd,$(BUILD_PLATFORM)),)
    1964 TEMPLATE_VBOXBLDPROG_TOOL                = GCC3
     1964TEMPLATE_VBOXBLDPROG_TOOL                = GXX3
    19651965TEMPLATE_VBOXBLDPROG_LIBS                =
    19661966 else ifeq ($(BUILD_PLATFORM),solaris)
    19671967$(warning Warning: VBOX Build: Target $(BUILD_PLATFORM) is not officially supported!)
    1968 TEMPLATE_VBOXBLDPROG_TOOL                = GCC3PLAIN
     1968TEMPLATE_VBOXBLDPROG_TOOL                = GXX3PLAIN
    19691969TEMPLATE_VBOXBLDPROG_LIBS                = rt
    19701970 else
  • trunk/src/recompiler/Makefile.kmk

    r2482 r2887  
    8080 dyngen_BLD_TRG_ARCH  = x86
    8181 dyngen_BLD_TRG_CPU   = i386
    82  dyngen_CFLAGS        = -Wall -g -fno-strict-aliasing 
     82 dyngen_CFLAGS        = -Wall -g -fno-strict-aliasing
    8383 ifeq ($(BUILD_TARGET_ARCH),amd64)
    8484  dyngen_DEFS        += HOST_X86_64=1
     
    165165else # !REM_USE_NOCRT
    166166
    167  $(REM_MOD)_TOOL            = GCC3
     167 $(REM_MOD)_TOOL            = GXX3
    168168 $(REM_MOD)_TOOL.win.x86    = MINGW32
    169169 $(REM_MOD)_TOOL.win.amd64  = XGCCAMD64LINUX
     
    226226## @todo This is a bit messy because of MINGW32.
    227227#BLDPROGS += testmath
    228 testmath_TOOL           = GCC3
     228testmath_TOOL           = GXX3
    229229testmath_TOOL.win.x86   = MINGW32
    230230testmath_SDKS.win.x86   = W32API
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette