VirtualBox

Changeset 861 in kBuild for trunk


Ignore:
Timestamp:
Mar 30, 2007 1:50:45 AM (18 years ago)
Author:
bird
Message:

win.amd64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r826 r861  
    8484
    8585ifeq ($(filter-out win nt,$(BUILD_TARGET)),)
    86  include $(PATH_KBUILD)/tools/VCC70.kmk # fixme! template expanding does something bad to _LIBS /me thinks.
    87  TEMPLATE_BIN_TOOL              = VCC70
    88  TEMPLATE_BIN_DEFS              = WINDOWS32 _CONSOLE WIN32 __WIN32__
     86 ifeq ($(BUILD_TARGET_ARCH),x86)
     87  include $(PATH_KBUILD)/tools/VCC70.kmk        # fixme! template expanding does something bad to _LIBS /me thinks.
     88  TEMPLATE_BIN_TOOL             = VCC70
     89  TEMPLATE_BIN_DEFS             = WINDOWS32 _CONSOLE __WIN__ WIN32 __WIN32__
     90 else ifeq ($(BUILD_TARGET_ARCH),amd64)
     91  TEMPLATE_BIN_TOOL             = VCC80AMD64
     92  TEMPLATE_BIN_DEFS             = WINDOWS32 _CONSOLE __WIN__ WIN32 __WIN32__ __WIN64__ WIN64 _CRT_SECURE_NO_DEPRECATE
     93 endif
    8994 TEMPLATE_BIN_DEFS.release      = NDEBUG
    9095 TEMPLATE_BIN_SDKS              = WINPSDK
     
    100105 TEMPLATE_BIN_CFLAGS           += -MT
    101106 TEMPLATE_BIN_LIBS              = \
    102         $(PATH_TOOL_VCC70_LIB)/oldnames.lib \
    103         $(PATH_TOOL_VCC70_LIB)/libcmt.lib \
    104         $(PATH_TOOL_VCC70_LIB)/libcpmt.lib
     107        $(PATH_TOOL_$(TEMPLATE_BIN_TOOL)_LIB)/oldnames.lib \
     108        $(PATH_TOOL_$(TEMPLATE_BIN_TOOL)_LIB)/libcmt.lib \
     109        $(PATH_TOOL_$(TEMPLATE_BIN_TOOL)_LIB)/libcpmt.lib
    105110 else
    106111 TEMPLATE_BIN_CFLAGS           += -MD
    107112 TEMPLATE_BIN_LIBS              = \
    108         $(PATH_TOOL_VCC70_LIB)/oldnames.lib \
    109         $(PATH_TOOL_VCC70_LIB)/msvcrt.lib
    110  #      $(PATH_TOOL_VCC70_LIB)/msvcprt.lib - avoid this to save space!
     113        $(PATH_TOOL_$(TEMPLATE_BIN_TOOL)_LIB)/oldnames.lib \
     114        $(PATH_TOOL_$(TEMPLATE_BIN_TOOL)_LIB)/msvcrt.lib
     115 #      $(PATH_TOOL_$(TEMPLATE_BIN_TOOL)_LIB)/msvcprt.lib - avoid this to save space!
    111116 endif
    112117 TEMPLATE_BIN_LIBS.profile      = g:/coding/vbox/trunk/out/win32/debug/lib/kPrf2.lib
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