VirtualBox

Changeset 2625 in kBuild


Ignore:
Timestamp:
Aug 7, 2012 8:26:48 PM (13 years ago)
Author:
bird
Message:

VCC100*: Dropped the explicit setting of -Od in debug C and CXX flags as the compiler makes a lot of noise if some optimziation is enabled later on the command line. Also sketeched a little on a dbgopt build type.

Location:
trunk/kBuild/tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/VCC100.kmk

    r2622 r2625  
    110110TOOL_VCC100_COBJSUFF         ?= .obj
    111111TOOL_VCC100_CFLAGS           ?= -TC -nologo
    112 TOOL_VCC100_CFLAGS.debug     ?= -Od -Zi
     112TOOL_VCC100_CFLAGS.debug     ?= -Zi
     113TOOL_VCC100_CFLAGS.dbgopt    ?= -O2 -Zi
    113114TOOL_VCC100_CFLAGS.release   ?= -O2
    114115TOOL_VCC100_CFLAGS.profile   ?= -O2
     
    118119TOOL_VCC100_CXXOBJSUFF       ?= .obj
    119120TOOL_VCC100_CXXFLAGS         ?= -TP -nologo
    120 TOOL_VCC100_CXXFLAGS.debug   ?= -Od -Zi
     121TOOL_VCC100_CXXFLAGS.debug   ?= -Zi
     122TOOL_VCC100_CXXFLAGS.dbgopt  ?= -O2 -Zi
    121123TOOL_VCC100_CXXFLAGS.release ?= -O2
    122124TOOL_VCC100_CXXFLAGS.profile ?= -O2
     
    138140TOOL_VCC100_LDFLAGS          ?= -nologo
    139141TOOL_VCC100_LDFLAGS.debug    ?= -debug
     142TOOL_VCC100_LDFLAGS.dbgopt   ?= -debug
     143TOOL_VCC100_LDFLAGS.profile  ?= -debug
    140144TOOL_VCC100_LDFLAGS.release  ?=
    141145TOOL_VCC100_LIBPATH.amd64    ?= $(PATH_TOOL_VCC100_LIB.amd64) $(PATH_TOOL_VCC100_ATLMFC_LIB.amd64)
  • trunk/kBuild/tools/VCC100AMD64.kmk

    r2622 r2625  
    9595TOOL_VCC100AMD64_COBJSUFF         ?= .obj
    9696TOOL_VCC100AMD64_CFLAGS           ?= -TC -nologo
    97 TOOL_VCC100AMD64_CFLAGS.debug     ?= -Od -Zi
     97TOOL_VCC100AMD64_CFLAGS.debug     ?= -Zi
     98TOOL_VCC100AMD64_CFLAGS.dbgopt    ?= -O2 -Zi
    9899TOOL_VCC100AMD64_CFLAGS.release   ?= -O2
    99100TOOL_VCC100AMD64_CFLAGS.profile   ?= -O2
     
    103104TOOL_VCC100AMD64_CXXOBJSUFF       ?= .obj
    104105TOOL_VCC100AMD64_CXXFLAGS         ?= -TP -nologo
    105 TOOL_VCC100AMD64_CXXFLAGS.debug   ?= -Od -Zi
     106TOOL_VCC100AMD64_CXXFLAGS.debug   ?= -Zi
     107TOOL_VCC100AMD64_CXXFLAGS.dbgopt  ?= -O2 -Zi
    106108TOOL_VCC100AMD64_CXXFLAGS.release ?= -O2
    107109TOOL_VCC100AMD64_CXXFLAGS.profile ?= -O2
     
    119121TOOL_VCC100AMD64_LDFLAGS          ?= -nologo -machine:amd64
    120122TOOL_VCC100AMD64_LDFLAGS.debug    ?= -debug
     123TOOL_VCC100AMD64_LDFLAGS.dbgopt   ?= -debug
     124TOOL_VCC100AMD64_LDFLAGS.profile  ?= -debug
    121125TOOL_VCC100AMD64_LDFLAGS.release  ?=
    122126
  • trunk/kBuild/tools/VCC100X86.kmk

    r2622 r2625  
    9797TOOL_VCC100X86_CFLAGS           ?= -TC -nologo
    9898TOOL_VCC100X86_CFLAGS.debug     ?= -Zi
     99TOOL_VCC100X86_CFLAGS.dbgopt    ?= -O2 -Zi
    99100TOOL_VCC100X86_CFLAGS.release   ?= -O2
    100101TOOL_VCC100X86_CFLAGS.profile   ?= -O2
     
    105106TOOL_VCC100X86_CXXFLAGS         ?= -TP -nologo
    106107TOOL_VCC100X86_CXXFLAGS.debug   ?= -Zi
     108TOOL_VCC100X86_CXXFLAGS.dbgopt  ?= -O2 -Zi
    107109TOOL_VCC100X86_CXXFLAGS.release ?= -O2
    108110TOOL_VCC100X86_CXXFLAGS.profile ?= -O2
     
    120122TOOL_VCC100X86_LDFLAGS          ?= -nologo -machine:x86
    121123TOOL_VCC100X86_LDFLAGS.debug    ?= -debug
     124TOOL_VCC100X86_LDFLAGS.dbgopt   ?= -debug
     125TOOL_VCC100X86_LDFLAGS.profile  ?= -debug
    122126TOOL_VCC100X86_LDFLAGS.release  ?=
    123127
Note: See TracChangeset for help on using the changeset viewer.

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