Bump gcc-7 to 7.3.0 and add testsuites as in solaris-userland
[unleashed-userland.git] / components / developer / gcc-7 / patches / 0001-README.md-Add-a-simple-description-of-what-s-what.patch
blobaf3b684ebaea364d9ea5974ae03e1f1976ea2421
1 From cfbc767c3e880dfc9cddb500901874e04774af69 Mon Sep 17 00:00:00 2001
2 From: Richard Lowe <richlowe@richlowe.net>
3 Date: Sat, 16 Apr 2011 23:25:51 -0400
4 Subject: [PATCH 01/11] README.md: Add a simple description of what's what
6 ---
7 README.md | 39 +++++++++++++++++++++++++++++++++++++++
8 1 file changed, 39 insertions(+)
9 create mode 100644 README.md
11 diff --git a/README.md b/README.md
12 new file mode 100644
13 index 00000000000..fcb3d7f9570
14 --- /dev/null
15 +++ b/README.md
16 @@ -0,0 +1,39 @@
17 +This is the GCC used for compiling illumos.
19 +The `il-*` branches contain the the patches used for building illumos, which
20 +are rebased versions of those used for Solaris/OpenSolaris, and then
21 +additional changes. The versions actually in use are tagged with
22 +`il-VERSION-ilN` where _N_ version the illumos changes over the GCC version in
23 +question.
25 +The `wip/*` branches are works in progress and _should never be used_
27 +The `codesourcery/*` and `sun/*` branches contain the original GCCs as patched by
28 +CodeSourcery and Sun Microsystems for use compiling Solaris and OpenSolaris as
29 +was, and the GCCFSS patches of Sun's
31 +When building the compilers for illumos use the flags generally used are:
33 +i386
34 +~~~sh
35 +../../configure --prefix=/opt/gcc/$VER --with-as=/usr/bin/gas --with-gnu-as \
36 + --with-ld=/usr/bin/ld --without-gnu-ld --enable-languages="c,c++,objc" \
37 + --enable-shared --with-mpfr-include=/usr/include/mpfr \
38 + --with-gmp-include=/usr/include/gmp \
39 + --with-pkgversion="Illumos $(git describe --all)" \
40 + --with-bugurl="http://github.com/richlowe/gcc/issues"
41 +~~~
43 +sparc
44 +~~~sh
45 +../../configure --prefix=/opt/gcc/$VER --without-gnu-as --with-as=/usr/ccs/bin/as" \
46 + --with-ld=/usr/bin/ld --without-gnu-ld --enable-languages="c,c++,objc" \
47 + --enable-shared --with-mpfr-include=/usr/include/mpfr \
48 + --with-gmp-include=/usr/include/gmp \
49 + --with-pkgversion="Illumos $(git describe --all)" \
50 + --with-bugurl="http://github.com/richlowe/gcc/issues"
51 +~~~
53 +Please use the correct `--with-bugurl` and `--with-pkgversion` flags as
54 +appropriate for any modifications you make, but please also be sure that they
55 +accurately describe what is in use (ie, are not left at the defaults) either.
56 --
57 2.15.0