diff options
author | Joerg Koenig <jck@techsat.com> | 2017-07-06 07:44:08 (GMT) |
---|---|---|
committer | Joerg Koenig <jck@techsat.com> | 2017-07-06 07:44:08 (GMT) |
commit | e6f0af52514d24ab7ccc91c5a83abf4b63ade284 (patch) | |
tree | 0ea79dd41f0754299c70708c7dab6423e7d2db62 /Makefile | |
parent | fd7662807a338cbaea2cbcd1879779093ca0a246 (diff) | |
download | gcc-compiler-suite-e6f0af52514d24ab7ccc91c5a83abf4b63ade284.zip gcc-compiler-suite-e6f0af52514d24ab7ccc91c5a83abf4b63ade284.tar.gz gcc-compiler-suite-e6f0af52514d24ab7ccc91c5a83abf4b63ade284.tar.bz2 |
Fixed build of linux nativ compilerrefs/changes/71/2071/1
Change-Id: Ia8e5c08952fc1eb740286e268457f0acf8fa80b2
Diffstat (limited to 'Makefile')
-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: |