diff options
author | Joerg Koenig <Joerg.Koenig@techsat.com> | 2018-11-28 20:10:51 (GMT) |
---|---|---|
committer | Joerg Koenig <Joerg.Koenig@techsat.com> | 2018-11-28 20:10:51 (GMT) |
commit | 1e39c4ace2717c992a34439bd689becdf37d4693 (patch) | |
tree | 630b72b7002980a2e45718c5591e72b7e09336c0 /Makefile | |
parent | cea9b2d0b6ee11b0a9adaae4d6d922e601546e49 (diff) | |
download | gcc-compiler-suite-1e39c4ace2717c992a34439bd689becdf37d4693.zip gcc-compiler-suite-1e39c4ace2717c992a34439bd689becdf37d4693.tar.gz gcc-compiler-suite-1e39c4ace2717c992a34439bd689becdf37d4693.tar.bz2 |
Added GNU make and fixed Makefile.32refs/changes/86/6286/1
Also a 32-Bit Toolchain is needed
Change-Id: Iebb018e6240678d8c8b6f9fe3bbeb3f3e30d579c
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -537,6 +537,7 @@ wingcc-all: make ARCH=x86-mingw64 wingcc-gendef make ARCH=x86-mingw64 wingcc-genpeimg make ARCH=x86-mingw64 wingcc-reimp + make ARCH=x86-mingw64 wingcc-gmake make ARCH=x86-mingw64 wingcc-gdb make ARCH=x86-mingw64 wingcc-pack @@ -652,6 +653,21 @@ wingcc-reimp: cp -f $(BUILD_DIR)/reimp/src/reimp.exe $(WINGCC_INST_DIR)/bin/reimp.exe cp -f $(BUILD_DIR)/reimp/src/reimp.exe $(WINGCC_INST_DIR)/bin/$(XGCC_TARGET64)-reimp.exe +wingcc-gmake: + rm -Rf $(BUILD_DIR)/make-4.2 + cd $(BUILD_DIR)/ && \ + tar -jxf $(SOURCE_DIR)/make-4.2.tar.bz2 + cd $(BUILD_DIR)/make-4.2 && \ + export PATH=$(XGCC_BINPATH):$(PATH) && \ + CC=$(XGCC64) CXX=$(XGPP64) \ + ./configure \ + CFLAGS="-I../glob" \ + --host=$(XGCC_TARGET64) \ + --prefix=$(WINGCC_INST_DIR) \ + --host=$(XGCC_TARGET64) && \ + make && make install + cp -f $(WINGCC_INST_DIR)/bin/make.exe $(WINGCC_INST_DIR)/bin/$(XGCC_TARGET64)-make.exe + wingcc-genpeimg: rm -Rf $(BUILD_DIR)/genpeimg cd $(BUILD_DIR)/ && \ |