mirror of https://github.com/zeldaret/mm.git
Added IDO recomp support (#45)
* Added recomp * Fix .exes not being included maybe * Fixed now? * OK this should add IDO * Re recompile in -O2 * Updates asm-processor to point to current HEAD. * Uses the exact same ido_recomp binaries as OOT. Co-authored-by: Kenix3 <kenixwhisperwind@gmail.com>
This commit is contained in:
parent
c55e9eeee5
commit
36557611ce
21
Makefile
21
Makefile
|
@ -4,13 +4,28 @@ COMPARE ?= 1
|
|||
NON_MATCHING ?= 0
|
||||
# If ORIG_COMPILER is 1, compile with QEMU_IRIX and the original compiler
|
||||
# TODO we do not support static recomp, so force this to 1
|
||||
ORIG_COMPILER = 1
|
||||
ORIG_COMPILER ?= 0
|
||||
|
||||
ifeq ($(NON_MATCHING),1)
|
||||
CFLAGS := -DNON_MATCHING
|
||||
CPPFLAGS := -DNON_MATCHING
|
||||
COMPARE := 0
|
||||
endif
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
DETECTED_OS=windows
|
||||
else
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
DETECTED_OS=linux
|
||||
endif
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
DETECTED_OS=macos
|
||||
MAKE=gmake
|
||||
CPPFLAGS += -xc++
|
||||
endif
|
||||
endif
|
||||
|
||||
#### Tools ####
|
||||
ifeq ($(shell type mips-linux-gnu-ld >/dev/null 2>/dev/null; echo $$?), 0)
|
||||
MIPS_BINUTILS_PREFIX := mips-linux-gnu-
|
||||
|
@ -18,8 +33,8 @@ else
|
|||
MIPS_BINUTILS_PREFIX := mips64-elf-
|
||||
endif
|
||||
|
||||
CC := tools/ido_recomp/linux/7.1/cc
|
||||
CC_OLD := tools/ido_recomp/linux/5.3/cc
|
||||
CC := tools/ido_recomp/$(DETECTED_OS)/7.1/cc
|
||||
CC_OLD := tools/ido_recomp/$(DETECTED_OS)/5.3/cc
|
||||
QEMU_IRIX ?= ./tools/qemu-mips
|
||||
|
||||
# if ORIG_COMPILER is 1, check that either QEMU_IRIX is set or qemu-irix package installed
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# Output files
|
||||
!ido_recomp/**
|
||||
*.exe
|
||||
yaz0
|
||||
makeromfs
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit bc7db5a0e489b73595d5e97004f11d5fdea026e4
|
||||
Subproject commit f511734d56ebb152c2b0c5aab212a0fea2588513
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue