Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-solaris.xml
Date: Sat, 21 Jun 2008 14:29:37
Message-Id: E1KA45r-0007Pa-Vy@stork.gentoo.org
1 grobian 08/06/21 14:29:31
2
3 Modified: bootstrap-solaris.xml
4 Log:
5 update solaris guide not to be exclusively for Solaris 10, drop binutils-config workaround which is now obsolete.
6
7 Revision Changes Path
8 1.30 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?rev=1.30&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?rev=1.30&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?r1=1.29&r2=1.30
13
14 Index: bootstrap-solaris.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v
17 retrieving revision 1.29
18 retrieving revision 1.30
19 diff -u -r1.29 -r1.30
20 --- bootstrap-solaris.xml 16 May 2008 19:47:08 -0000 1.29
21 +++ bootstrap-solaris.xml 21 Jun 2008 14:29:31 -0000 1.30
22 @@ -1,6 +1,6 @@
23 <?xml version="1.0" encoding="UTF-8"?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v 1.29 2008/05/16 19:47:08 grobian Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v 1.30 2008/06/21 14:29:31 grobian Exp $ -->
27
28 <guide link="/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml" lang="en">
29 <title>Gentoo Prefix Bootstrap Process for Solaris</title>
30 @@ -19,21 +19,21 @@
31 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
32 <license/>
33
34 - <version>1.11</version>
35 - <date>2008-05-16</date>
36 + <version>1.12</version>
37 + <date>2008-06-21</date>
38
39 <chapter>
40 - <title>Bootstrapping on Solaris 10</title>
41 + <title>Bootstrapping on Solaris</title>
42
43 <section><!-- {{{ Introduction -->
44 <title>Introduction</title>
45 <body>
46 <p>
47 - Bootstrapping on Solaris 10 is relatively simple if you
48 - compare it to its predecessors. It comes with bash3 and a
49 + Bootstrapping on Solaris 10 and higher is relatively simple if you
50 + compare it to versions below 10. It comes with bash3 and a
51 gcc-3.4.3 compiler by default, and with the download manager
52 - wget. If you still are in the process of installing Solaris
53 - 10, make sure you install wget, to make things easier later on.
54 + wget. If you still are in the process of installing Solaris,
55 + make sure you install wget, to make things easier later on.
56 </p>
57 <p>
58 Though being relatively simple, Solaris is one of the more
59 @@ -85,21 +85,25 @@
60 Additionally, you need the following paths to find the gnu
61 compiler, linker, make and some other tools:
62 <path>/usr/sfw/bin</path>,
63 - <path>/usr/sfw/i386-sun-solaris2.10/bin</path>,
64 + <path>/usr/sfw/&lt;arch&gt;-sun-solaris&lt;version&gt;/bin</path>,
65 <path>/usr/bin</path> and <path>/bin</path>.
66 </p>
67 - <pre caption="Add Prefix and utility paths to your PATH">
68 + <pre caption="Add Prefix and utility paths to your PATH on Solaris 10/x86">
69 $ <i>export PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:/usr/sfw/bin:/usr/sfw/i386-sun-solaris2.10/bin:/usr/bin:/bin"</i>
70 </pre>
71 - <note>Solaris 10/Sparc users need
72 - <path>/usr/sfw/sparc-sun-solaris2.10/bin</path> instead of
73 - <path>/usr/sfw/i386-sun-solaris2.10/bin</path></note>
74 + <note>
75 + Solaris on Sparc users need <e>sparc</e> for
76 + <c>&lt;arch&gt;</c> instead of <e>i386</e>.
77 + Solaris 11 users need <e>2.11</e> for
78 + <c>&lt;version&gt;</c> instead of <e>2.10</e>.
79 + </note>
80 <p>
81 If you want to end up with a 64-bits native Prefix
82 installation, then set your <c>CHOST</c> variable accordingly
83 to either <c>x86_64-pc-solaris2.10</c> or
84 - <c>sparcv9-sun-solaris2.10</c>. You <e>only</e> need to do
85 - this if you want a 64-bits native Prefix!
86 + <c>sparcv9-sun-solaris2.10</c> for Solaris 10. You
87 + <e>only</e> need to do this if you want a 64-bits native
88 + Prefix!
89 </p>
90 <p>
91 Now the path is set, start with downloading the bootstrap
92 @@ -189,16 +193,11 @@
93 <pre caption="emerge linker and compiler">
94 $ <i>emerge --oneshot --nodeps baselayout-prefix</i>
95 $ <i>emerge --oneshot --nodeps flex</i>
96 -$ <i>emerge --oneshot --nodeps binutils-config</i> (64-bits: see note!)
97 +$ <i>emerge --oneshot --nodeps binutils-config</i>
98 $ <i>emerge --oneshot --nodeps binutils</i>
99 $ <i>emerge --oneshot --nodeps gcc-config</i>
100 $ <i>emerge --oneshot --nodeps gcc</i>
101 </pre>
102 - <note>
103 - 64-bit native Prefix bootstrappers need to workaround an
104 - inconvenience with <c>binutils-config</c>. When emerging this
105 - package use <c>env CFLAGS="-O2 -pipe -m64" emerge ...</c>.
106 - </note>
107 <p>
108 Since the tools for building are now installed in your Prefix,
109 the little helpers we used before are no longer necessary.
110
111
112
113 --
114 gentoo-commits@l.g.o mailing list