Changeset 3517 in vbox
- Timestamp:
- Jul 9, 2007 4:48:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r3452 r3517 602 602 DEFS.darwin.x86 = VBOX_WITH_HYBIRD_32BIT_KERNEL 603 603 DEFS.freebsd = __FREEBSD__ 604 DEFS.l4 = __L4__ __L4ENV__ L4API_l4v2 ARCH_ x86__NO_CTYPE _FILE_OFFSET_BITS=64604 DEFS.l4 = __L4__ __L4ENV__ L4API_l4v2 ARCH_$(BUILD_TARGET_ARCH) __NO_CTYPE _FILE_OFFSET_BITS=64 605 605 ifeq ($(L4_API),l4v2onv4) 606 606 DEFS.l4 += L4API_l4v2onv4 STATIC_L4_INLINE … … 915 915 endif 916 916 @# Find the compiler includes for IPRT no-crt. 917 $(APPEND) "$@" "VBOX_PATH_GCC_INCS ?= $(abspath $(dir $(shell LC_ALL=C $(TOOL_$(VBOX_GCC_TOOL)_CC) -print-libgcc-file-name)))/include" 917 @# Note that `$(dir $(gcc -print-libgcc-file-name))/include does not work for a 64-bit cross build on a 32-bit build host. 918 $(APPEND) "$@" "VBOX_PATH_GCC_INCS ?= $(shell LC_ALL=C $(TOOL_$(VBOX_GCC_TOOL)_CC) -print-search-dirs|$(SED_EXT) -ne 's+^install: \(.*[^/][^/]*\)/+\1+p')/include" 918 919 919 920 @# 32-bit (GC) compiler switch detection. … … 923 924 $(APPEND) "$@" "VBOX_GCC32_Wno-variadic-macros ?= $(call VBOX_GCC32_CHECK_CXX,-Wno-variadic-macros,)" 924 925 925 ifeq ($(BUILD_TARGET),l4)926 @# L4927 $(APPEND) "$@" "VBOX_PATH_L4_GCC3_INSTALL ?= $(shell LANG=C $(TOOL_$(VBOX_GCC_TOOL)_CC) -print-search-dirs|$(SED_EXT) -ne 's+^install: \(.*[^/][^/]*\)/\?+\1+p')"928 endif929 930 926 include $(PATH_OUT)/GCCConfig.kmk 931 927 932 ifeq ($(BUILD_TARGET),l4)933 VBOX_L4_GCC3_INCS := $(VBOX_PATH_L4_GCC3_INSTALL)/include934 # L4_GPP3_INCS := \935 # $(VBOX_PATH_L4_GCC3_INSTALL)/include/g++-v3/ \936 # $(VBOX_PATH_L4_GCC3_INSTALL)/include/g++-v3/i386-pc-linux-gnu/937 endif938 928 939 929 # … … 1501 1491 # L4 currently can't handle exception handling. 1502 1492 TEMPLATE_VBOXR3EXE_CXXFLAGS.l4 = -fno-exceptions -nostdinc \ 1503 $(addprefix -I,$(VBOX_ L4_GCC3_INCS) $(L4_INCDIR) $(FILE_TOOL_GPP3_INCDIR)) \1493 $(addprefix -I,$(VBOX_PATH_GCC_INCS) $(L4_INCDIR) $(FILE_TOOL_GPP3_INCDIR)) \ 1504 1494 $(DEBUG_L4) 1505 1495 TEMPLATE_VBOXR3EXE_CXXFLAGS.kprofile = -finstrument-functions … … 1509 1499 TEMPLATE_VBOXR3EXE_CFLAGS.darwin = -fno-common 1510 1500 TEMPLATE_VBOXR3EXE_CFLAGS.l4 = -nostdinc \ 1511 $(addprefix -I,$(VBOX_ L4_GCC3_INCS) $(L4_INCDIR)) $(DEBUG_L4)1501 $(addprefix -I,$(VBOX_PATH_GCC_INCS) $(L4_INCDIR)) $(DEBUG_L4) 1512 1502 TEMPLATE_VBOXR3EXE_DEFS.l4 = L4_THREAD_SAFE 1513 1503 TEMPLATE_VBOXR3EXE_LDFLAGS.l4 = \
Note:
See TracChangeset
for help on using the changeset viewer.