Changeset 1700 in vbox for trunk/src/recompiler/new
- Timestamp:
- Mar 26, 2007 12:26:57 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19850
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/new/Makefile.kmk
r1631 r1700 315 315 # in one (or more) ELF op.o files using nm. 316 316 # 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 endif320 317 ifndef VBOX_RECOMPILER_OP_GCC 321 318 ifeq ($(BUILD_TARGET).$(BUILD_TARGET_ARCH),darwin.x86) … … 382 379 $(call MSG_L1,Compiling $< => $@) 383 380 $(addsuffix $(SP)\$(NL)$(TAB) ,$(COMPILE_OP_CMDS)) -o [email protected] 384 else ifeq ($(VBOX_RECOMPILER_OP_GCC_OK),dunno) 381 else ifeq ($(VBOX_RECOMPILER_OP_GCC_OK),dunno) # (permit 3.x.x and 4.1.x+ for now) 385 382 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 \ 387 385 $(ECHO_EXT) "Compiling $< => $@" && \ 388 386 $(addsuffix $(SP)\$(NL)$(TAB)$(TAB) ,$(COMPILE_OP_CMDS)) -o [email protected]; \ 389 387 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)" && \ 391 389 $(CP_EXT) -f staged/op-elf-$(BUILD_TARGET_ARCH).S [email protected]; \ 392 390 fi
Note:
See TracChangeset
for help on using the changeset viewer.