diff options
-rwxr-xr-x | Makefile | 42 |
1 files changed, 17 insertions, 25 deletions
@@ -50,6 +50,7 @@ ARCH32 = i686-linux-gnu VERSION_BINUTILS = 2.28 VERSION_GCC = 7.1.0 +#VERSION_GCC = 5.4.0 VERSION_MINGW = 5.0.2 VERSION_GMP = 6.1.2 VERSION_MPC = 1.0.2 @@ -221,21 +222,29 @@ lingcc-gcc: --host=$(ARCH64) \ --target=$(ARCH64) \ --disable-nls \ + --enable-multilib \ + --with-arch-32=i686 \ + --with-multilib-list=m32,m64,mx32 \ + --with-tune=generic\ + --enable-checking=release \ --enable-languages=$(LANGUAGES) \ - --with-gcc \ - --with-gnu-ld \ - --with-gnu-as \ - --without-x \ + --without-included-gettext \ + --enable-threads=posix \ --enable-shared \ --enable-static \ --with-tune-64=core2 \ --disable-werror \ --disable-symvers \ - --enable-multilib \ - --enable-64bit \ + --with-arch-directory=lib64 \ + --enable-libstdcxx-time=yes \ + --enable-libstdcxx-debug \ + --enable-linker-build-id \ + --enable-nls \ + --enable-plugin \ + --enable-gnu-unique-object \ + --disable-vtable-verify \ --enable-clocale=gnu \ - --enable-version-specific-runtime-libs \ - --enable-fully-dynamic-string && \ + && \ make $(JOBS) all && \ make $(JOBS) install @@ -244,23 +253,6 @@ lingcc-finish: strip $$f ;\ done; rm -Rf $(INST_BASE)/gcc-$(VERSION_GCC)/share - cp -f $(SOURCE_DIR)/mingw.gcc.specs \ - $(INST_BASE)/gcc-$(VERSION_GCC)/lib/gcc/$(ARCH64)/$(VERSION_GCC)/specs - # - sed -i -e 's/__LIB32__/lib\/gcc\/$(ARCH64)\/lib32/g' \ - $(INST_BASE)/gcc-$(VERSION_GCC)/lib/gcc/$(ARCH64)/$(VERSION_GCC)/specs - sed -i -e 's/__LIB64__/lib\/gcc\/$(ARCH64)\/lib64/g' \ - $(INST_BASE)/gcc-$(VERSION_GCC)/lib/gcc/$(ARCH64)/$(VERSION_GCC)/specs - # - cat $(INST_BASE)/gcc-$(VERSION_GCC)/lib/gcc/$(ARCH64)/$(VERSION_GCC)/specs \ - $(SOURCE_DIR)/gcc.msvcr90.spec > \ - $(INST_BASE)/gcc-$(VERSION_GCC)/lib/gcc/$(ARCH64)/$(VERSION_GCC)/msvcr90 - cat $(INST_BASE)/gcc-$(VERSION_GCC)/lib/gcc/$(ARCH64)/$(VERSION_GCC)/specs \ - $(SOURCE_DIR)/gcc.msvcr100.spec > \ - $(INST_BASE)/gcc-$(VERSION_GCC)/lib/gcc/$(ARCH64)/$(VERSION_GCC)/msvcr100 - cat $(INST_BASE)/gcc-$(VERSION_GCC)/lib/gcc/$(ARCH64)/$(VERSION_GCC)/specs \ - $(SOURCE_DIR)/gcc.msvcr110.spec > \ - $(INST_BASE)/gcc-$(VERSION_GCC)/lib/gcc/$(ARCH64)/$(VERSION_GCC)/msvcr110 find $(INST_BASE)/gcc-$(VERSION_GCC) -type f -name "*.py" | xargs rm -f lingcc-gdb: |