From: John Hodge Date: Mon, 4 Mar 2013 11:15:22 +0000 (+0800) Subject: Externals/cross-compiler - Tweaking, fixed stdint.h problem X-Git-Tag: rel0.15~544 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=f595a692ef1efccef616b8600a0087e23d6066fe;p=tpg%2Facess2.git Externals/cross-compiler - Tweaking, fixed stdint.h problem --- diff --git a/Externals/cross-compiler/Makefile b/Externals/cross-compiler/Makefile index 60c94d28..d9798c4d 100644 --- a/Externals/cross-compiler/Makefile +++ b/Externals/cross-compiler/Makefile @@ -71,9 +71,10 @@ $(PREFIX)/bin/$(TARGET)-ld: $(BDIR_BINUTILS)/Makefile $(BDIR_GCC)/Makefile: Makefile $(addprefix $(GCC_DIR)/,$(GCC_CHANGES)) @mkdir -p $(BDIR_GCC) - @cd $(BDIR_GCC) && PATH=$(PREFIX)/bin:$$PATH ../../$(GCC_DIR)/configure --target=$(TARGET) --prefix=$(PREFIX) --disable-nls --enable-langs=c,c++ --includedir=$(ACESSDIR)/Usermode/include --libdir=$(ACESSDIR)/Usermode/Output/$(ARCH)/Lib "--with-sysroot=$(PREFIX)" + @cd $(BDIR_GCC) && PATH=$(PREFIX)/bin:$$PATH ../../$(GCC_DIR)/configure --target=$(TARGET) --prefix=$(PREFIX) --disable-nls --enable-langs=c,c++ --includedir=$(ACESSDIR)/Usermode/include "--with-sysroot=$(PREFIX)" $(PREFIX)/bin/$(TARGET)-gcc: $(BDIR_GCC)/Makefile - @cd $(BDIR_GCC) && PATH=$(PREFIX)/bin:$$PATH make all-gcc all-target-libgcc install-gcc install-target-libgcc -j $(PARLEVEL) + @PATH=$(PREFIX)/bin:$$PATH make -C $(BDIR_GCC) all-gcc all-target-libgcc -j $(PARLEVEL) + @make -C $(BDIR_GCC) install-gcc install-target-libgcc -j $(PARLEVEL) diff --git a/Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch b/Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch index 833fafa4..c8545ff0 100644 --- a/Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch +++ b/Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch @@ -15,7 +15,7 @@ @@ -1192,2 +1196,7 @@ ;; +i[3-7]86-*-acess2*) -+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h acess2.h" ++ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h newlib-stdint.h acess2.h" + tmake_file="i386/t-i386elf t-svr4" + use_fixproto=yes + ;;