VirtualBox

Changeset 1700 in vbox for trunk/src/recompiler/new


Ignore:
Timestamp:
Mar 26, 2007 12:26:57 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19850
Message:

Permit 4.1.x+.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/new/Makefile.kmk

    r1631 r1700  
    315315# in one (or more) ELF op.o files using nm.
    316316#
    317 ifeq ($(USERNAME).$(BUILD_TARGET),bird.linux)
    318  VBOX_RECOMPILER_OP_GCC ?= $(TOOL_$(VBOX_GCC_TOOL)_CC)  # gcc 4.1.1 works fine for me.
    319 endif
    320317ifndef VBOX_RECOMPILER_OP_GCC
    321318 ifeq ($(BUILD_TARGET).$(BUILD_TARGET_ARCH),darwin.x86)
     
    382379        $(call MSG_L1,Compiling $< => $@)
    383380        $(addsuffix $(SP)\$(NL)$(TAB)  ,$(COMPILE_OP_CMDS)) -o [email protected]
    384 else ifeq ($(VBOX_RECOMPILER_OP_GCC_OK),dunno)
     381else ifeq ($(VBOX_RECOMPILER_OP_GCC_OK),dunno) # (permit 3.x.x and 4.1.x+ for now)
    385382        major_ver=`$(VBOX_RECOMPILER_OP_GCC) --version | $(SED) -e '/GCC/!d' -e 's/^.* (GCC) \([2-9]\)\..*$$/\1/'`; \
    386         if test "$$major_ver" = "3"; then \
     383        minor_ver=`$(VBOX_RECOMPILER_OP_GCC) --version | $(SED) -e '/GCC/!d' -e 's/^.* (GCC) \([2-9]\)\.\([2-9]\)\..*$$/\2/'`; \
     384        if test "$$major_ver" = "3" -o "(" "$$major_ver" = "4" -a "$$minor_ver" != "0" ")"; then \
    387385                $(ECHO_EXT) "Compiling $< => $@" && \
    388386                $(addsuffix $(SP)\$(NL)$(TAB)$(TAB)  ,$(COMPILE_OP_CMDS)) -o [email protected]; \
    389387        else \
    390                 $(ECHO_EXT) "Using staged op.S (gcc major ver $$major_ver)" && \
     388                $(ECHO_EXT) "Using staged op.S (gcc ver $$major_ver.$$minor_ver)" && \
    391389                $(CP_EXT) -f staged/op-elf-$(BUILD_TARGET_ARCH).S [email protected]; \
    392390        fi
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