Externals/cross-compiler - Tweaking, fixed stdint.h problem
authorJohn Hodge <[email protected]>
Mon, 4 Mar 2013 11:15:22 +0000 (19:15 +0800)
committerJohn Hodge <[email protected]>
Mon, 4 Mar 2013 11:15:22 +0000 (19:15 +0800)
Externals/cross-compiler/Makefile
Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch

index 60c94d2..d9798c4 100644 (file)
@@ -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)
 
 
index 833fafa..c8545ff 100644 (file)
@@ -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
 +      ;;

UCC git Repository :: git.ucc.asn.au