]> Zhao Yanbai Git Server - minix.git/commit
Enable optional GCC install and GCC improvements 71/671/2
authorLionel Sambuc <lionel@minix3.org>
Wed, 24 Apr 2013 16:57:59 +0000 (18:57 +0200)
committerLionel Sambuc <lionel@minix3.org>
Fri, 12 Jul 2013 12:22:03 +0000 (14:22 +0200)
commit0cdf705cc6b6351f9bd896cde32607ecf6415eb9
tree732b32c375f21fea7ca9ce2ee21356dea2311f24
parentc566d4623bac8bacb1dd80e215c52380a9daa2f1
Enable optional GCC install and GCC improvements

 -By adding MKGCC=yes and MKGCCCMDS=yes on the make commandline
   it is now possible to compile and install GCC on the system.

   Before doing this, if you are not using the build.sh script,
   you will need to call the fetch scripts in order to retrieve
   the sources of GCC and its dependencies.

 -Reduce difference with NetBSD share/mk

   Move Minix-specific parameters from bsd.gcc.mk to bsd.own.mk,
   which is anyway patched, so that bsd.gcc.mk is now aligned
   on the NetBSD version.

 -Clean libraries dependencies, compiles stdc++ only if gcc is
   also compiled (it is part of the gcc sources)

 -Correct minix.h header sequence, cleanup spec headers.

 -Fix cross-compilation from a 32bit host targeting MINIX/arm

Change-Id: I1b234af18eed4ab5675188244e931b2a2b7bd943
95 files changed:
common/lib/libc/string/popcount32.c
common/lib/libc/string/popcount64.c
distrib/sets/lists/minix/md.evbarm
distrib/sets/lists/minix/md.i386
distrib/sets/lists/minix/mi
etc/mtree/Makefile
etc/mtree/Minix.gcccmds [new file with mode: 0644]
external/gpl3/gcc/Makefile
external/gpl3/gcc/fetch.sh
external/gpl3/gcc/files/arm-minix.h
external/gpl3/gcc/files/i386-minix.h
external/gpl3/gcc/files/minix-spec.h
external/gpl3/gcc/files/minix.h
external/gpl3/gcc/files/t-minix
external/gpl3/gcc/lib/Makefile
external/gpl3/gcc/lib/Makefile.hacks
external/gpl3/gcc/lib/libgcc/Makefile
external/gpl3/gcc/lib/libgcc/Makefile.inc
external/gpl3/gcc/lib/libgcc/arch/earm.mk
external/gpl3/gcc/lib/libgcc/arch/i386.mk
external/gpl3/gcc/lib/libgcc/libgcov/arch/earm/defs.mk
external/gpl3/gcc/lib/libgcc/libgcov/arch/earm/gcov-iov.h
external/gpl3/gcc/lib/libgomp/arch/earm/config.h
external/gpl3/gcc/lib/libgomp/arch/earm/libgomp.spec
external/gpl3/gcc/lib/libgomp/arch/earm/libgomp_f.h
external/gpl3/gcc/lib/libgomp/arch/earm/omp.h
external/gpl3/gcc/lib/libgomp/arch/i386/config.h
external/gpl3/gcc/lib/libiberty/arch/earm/config.h
external/gpl3/gcc/lib/libiberty/arch/i386/config.h
external/gpl3/gcc/lib/libiberty/defs.mk
external/gpl3/gcc/lib/libobjc/arch/earm/config.h
external/gpl3/gcc/lib/libobjc/arch/earm/defs.mk
external/gpl3/gcc/lib/libobjc/arch/i386/config.h
external/gpl3/gcc/lib/libstdc++-v3/arch/earm/c++config.h
external/gpl3/gcc/lib/libstdc++-v3/arch/earm/config.h
external/gpl3/gcc/lib/libstdc++-v3/arch/earm/defs.mk
external/gpl3/gcc/lib/libstdc++-v3/arch/i386/c++config.h
external/gpl3/gcc/lib/libstdc++-v3/arch/i386/config.h
external/gpl3/gcc/lib/libstdc++-v3/arch/i386/defs.mk
external/gpl3/gcc/lib/libsupc++/Makefile.common
external/gpl3/gcc/patches/0000-gcc_nbsd.patch
external/gpl3/gcc/patches/0001-minix.patch
external/gpl3/gcc/usr.bin/Makefile.backend
external/gpl3/gcc/usr.bin/Makefile.inc
external/gpl3/gcc/usr.bin/backend/Makefile
external/gpl3/gcc/usr.bin/cc1/Makefile
external/gpl3/gcc/usr.bin/cc1obj/Makefile
external/gpl3/gcc/usr.bin/cc1plus/Makefile
external/gpl3/gcc/usr.bin/cpp/Makefile
external/gpl3/gcc/usr.bin/g++/Makefile
external/gpl3/gcc/usr.bin/gcc/Makefile
external/gpl3/gcc/usr.bin/gcc/arch/earm/auto-host.h
external/gpl3/gcc/usr.bin/gcc/arch/earm/bconfig.h
external/gpl3/gcc/usr.bin/gcc/arch/earm/bversion.h
external/gpl3/gcc/usr.bin/gcc/arch/earm/config.h
external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h
external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk
external/gpl3/gcc/usr.bin/gcc/arch/earm/gthr-default.h [deleted file]
external/gpl3/gcc/usr.bin/gcc/arch/earm/gtyp-input.list
external/gpl3/gcc/usr.bin/gcc/arch/earm/insn-modes.h [deleted file]
external/gpl3/gcc/usr.bin/gcc/arch/earm/multilib.h
external/gpl3/gcc/usr.bin/gcc/arch/earm/plugin-version.h
external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h
external/gpl3/gcc/usr.bin/gcc/arch/i386/auto-host.h
external/gpl3/gcc/usr.bin/gcc/arch/i386/bconfig.h
external/gpl3/gcc/usr.bin/gcc/arch/i386/configargs.h
external/gpl3/gcc/usr.bin/gcc/arch/i386/defs.mk
external/gpl3/gcc/usr.bin/gcc/arch/i386/gthr-default.h [deleted file]
external/gpl3/gcc/usr.bin/gcc/arch/i386/gtyp-input.list
external/gpl3/gcc/usr.bin/gcc/arch/i386/tm.h
external/gpl3/gcc/usr.bin/gcov/Makefile
external/gpl3/gcc/usr.bin/libcpp/arch/earm/config.h
external/gpl3/gcc/usr.bin/libcpp/arch/i386/config.h
external/gpl3/gcc/usr.bin/libdecnumber/arch/earm/config.h
external/lgpl3/gmp/lib/libgmp/arch/earm/Makefile.inc [new file with mode: 0644]
external/lgpl3/gmp/lib/libgmp/arch/earm/config.h [new file with mode: 0644]
external/lgpl3/gmp/lib/libgmp/arch/earm/config.m4 [new file with mode: 0644]
external/lgpl3/gmp/lib/libgmp/arch/earm/gmp-mparam.h [new file with mode: 0644]
external/lgpl3/gmp/lib/libgmp/arch/earm/gmp.h [new file with mode: 0644]
external/lgpl3/gmp/lib/libgmp/arch/earm/mp.h [new file with mode: 0644]
lib/Makefile
lib/csu/arch/earm/crt0.S
lib/csu/common/crt0-common.c
lib/libm/Makefile
lib/libm/complex/Makefile.inc
servers/procfs/Makefile
servers/vfs/Makefile
share/mk/bsd.gcc.mk
share/mk/bsd.lib.mk
share/mk/bsd.own.mk
share/mk/bsd.prog.mk
share/mk/bsd.test.mk
share/mk/minix.service.mk
test/Makefile
tools/gcc/Makefile