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-macos.xml bootstrap-solaris.xml
Date: Thu, 17 Sep 2009 18:57:13
Message-Id: E1MoMAK-00025n-73@stork.gentoo.org
1 grobian 09/09/17 18:57:12
2
3 Modified: bootstrap-macos.xml bootstrap-solaris.xml
4 Log:
5 the bootstrap-prefix script now sets the appropriate envvars in the bootstrap environment, so no need to deal with them by the user any more
6
7 Revision Changes Path
8 1.43 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.43&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.43&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?r1=1.42&r2=1.43
13
14 Index: bootstrap-macos.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v
17 retrieving revision 1.42
18 retrieving revision 1.43
19 diff -u -r1.42 -r1.43
20 --- bootstrap-macos.xml 1 Jun 2009 20:03:33 -0000 1.42
21 +++ bootstrap-macos.xml 17 Sep 2009 18:57:11 -0000 1.43
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-macos.xml,v 1.42 2009/06/01 20:03:33 grobian Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v 1.43 2009/09/17 18:57:11 grobian Exp $ -->
27
28 <guide link="/proj/en/gentoo-alt/prefix/bootstrap-macos.xml" lang="en">
29 <title>Gentoo Prefix Bootstrap Process for Mac OS X</title>
30 @@ -19,8 +19,8 @@
31 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
32 <license/>
33
34 - <version>1.19</version>
35 - <date>2009-06-01</date>
36 + <version>1.20</version>
37 + <date>2009-09-17</date>
38
39 <chapter>
40 <title>Bootstrapping on OS X</title>
41 @@ -84,9 +84,11 @@
42 <p>
43 If you want to end up with a 64-bits native Prefix
44 installation, then set your <c>CHOST</c> variable accordingly
45 - to <c>x86_64-apple-darwin9</c>. We currently have only an
46 - Intel 64-bits prefix on Leopard tested. You <e>only</e> need
47 - to do this if you want a 64-bits native Prefix!
48 + to <c>x86_64-apple-darwin9</c> for Leopard, or
49 + <c>x86_64-apple-darwin10</c> for Snow Leopard. We currently
50 + have only an Intel 64-bits prefix on Leopard tested. You
51 + <e>only</e> need to do this if you want a 64-bits native
52 + Prefix!
53 </p>
54 <p>
55 Now the path is set, start with downloading the bootstrap
56 @@ -119,26 +121,7 @@
57 The script will setup the <path>$EPREFIX</path>
58 directory, download a portage tree snapshot, unpack it and
59 download and install portage. Afterwards it will try to setup
60 - some sane defaults. We continue with a little hack necessary
61 - for a successful bootstrap:
62 - </p>
63 - <pre caption="Setup ld directions">
64 -$ <i>export LDFLAGS="-Wl,-search_paths_first -L${EPREFIX}/usr/lib -L${EPREFIX}/lib"</i>
65 -$ <i>export CPPFLAGS="-I${EPREFIX}/usr/include"</i>
66 - </pre>
67 - <note>
68 - The <c>-search_paths_first</c> flag is OSX' cctools only. It
69 - instructs the linker to look first in the provided paths, then
70 - if that fails in the system (default) paths. This is the
71 - default behaviour for many other linkers, including GNU
72 - binutils as used on Linux.
73 - </note>
74 - <p>
75 - If you are targetting a 64-bits native Prefix, set <c>CC="gcc
76 - -m64"</c>, <c>CXX="g++ -m64"</c> and <c>HOSTCC="gcc
77 - -m64"</c>.
78 - </p>
79 - <p>
80 + some sane defaults.
81 Because we installed some new applications, we will instruct
82 bash to reconsider all paths we have:
83 </p>
84 @@ -190,19 +173,10 @@
85 $ <i>emerge --oneshot --nodeps gcc-apple</i>
86 </pre>
87 <p>
88 - Since the tools for building are now installed in your Prefix,
89 - the little helpers we used before are no longer necessary.
90 - They may even cause trouble, so we unset them.
91 - </p>
92 - <pre caption="unset no longer needed environment variables">
93 -$ <i>unset LDFLAGS CPPFLAGS CHOST CC CXX HOSTCC</i>
94 - </pre>
95 - <note>tcsh users can use <c>unsetenv LDFLAGS</c>, etc.</note>
96 - <p>
97 We continue getting more tools in our Prefix. We no longer
98 - ignore dependencies, so a lot of packages will be emerged at
99 - this stage. Slowly our Prefix gets more robust as we progress
100 - here.
101 + ignore dependencies all the time, so a lot of packages will be
102 + emerged at this stage. Slowly our Prefix gets more robust as
103 + we progress here.
104 </p>
105 <pre caption="emerge several tools">
106 $ <i>emerge --oneshot coreutils</i>
107
108
109
110 1.51 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml
111
112 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?rev=1.51&view=markup
113 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?rev=1.51&content-type=text/plain
114 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?r1=1.50&r2=1.51
115
116 Index: bootstrap-solaris.xml
117 ===================================================================
118 RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v
119 retrieving revision 1.50
120 retrieving revision 1.51
121 diff -u -r1.50 -r1.51
122 --- bootstrap-solaris.xml 3 Jun 2009 15:43:33 -0000 1.50
123 +++ bootstrap-solaris.xml 17 Sep 2009 18:57:11 -0000 1.51
124 @@ -1,6 +1,6 @@
125 <?xml version="1.0" encoding="UTF-8"?>
126 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
127 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v 1.50 2009/06/03 15:43:33 grobian Exp $ -->
128 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v 1.51 2009/09/17 18:57:11 grobian Exp $ -->
129
130 <guide link="/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml" lang="en">
131 <title>Gentoo Prefix Bootstrap Process for Solaris</title>
132 @@ -19,8 +19,8 @@
133 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
134 <license/>
135
136 - <version>1.29</version>
137 - <date>2009-06-03</date>
138 + <version>1.30</version>
139 + <date>2009-09-17</date>
140
141 <chapter>
142 <title>Bootstrapping on Solaris</title>
143 @@ -136,20 +136,7 @@
144 The script will setup the <path>$EPREFIX</path>
145 directory, download a portage tree snapshot, unpack it and
146 download and install portage. Afterwards it will try to setup
147 - some sane defaults. We continue with a little hack necessary
148 - for a successful bootstrap:
149 - </p>
150 - <pre caption="Setup ld directions">
151 -$ <i>export LDFLAGS="-L${EPREFIX}/usr/lib -R${EPREFIX}/usr/lib -L${EPREFIX}/lib -R${EPREFIX}/lib"</i>
152 -$ <i>export CPPFLAGS="-I${EPREFIX}/usr/include"</i>
153 - </pre>
154 - <p>
155 - If you are targetting a 64-bits native Prefix, append
156 - <c>-L</c> and <c>-R</c> flags for <c>/usr/sfw/lib/64</c> to
157 - your <c>LDFLAGS</c>. Additionally set <c>CC="gcc -m64"</c>,
158 - <c>CXX="g++ -m64"</c> and <c>HOSTCC="gcc -m64"</c>.
159 - </p>
160 - <p>
161 + some sane defaults.
162 Because we installed some new applications, we will instruct
163 bash to reconsider all paths we have:
164 </p>
165 @@ -210,19 +197,10 @@
166 $ <i>emerge --oneshot --nodeps "=gcc-4.2*"</i>
167 </pre>
168 <p>
169 - Since the tools for building are now installed in your Prefix,
170 - the little helpers we used before are no longer necessary.
171 - They may even cause trouble, so we unset them.
172 - </p>
173 - <pre caption="unset no longer needed environment variables">
174 -$ <i>unset LDFLAGS CPPFLAGS CHOST CC CXX HOSTCC</i>
175 - </pre>
176 - <note>tcsh users can use <c>unsetenv LDFLAGS</c>, etc.</note>
177 - <p>
178 We continue getting more tools in our Prefix. We no longer
179 - ignore dependencies, so a lot of packages will be emerged at
180 - this stage. Slowly our Prefix gets more robust as we progress
181 - here.
182 + ignore dependencies all the time, so a lot of packages will be
183 + emerged at this stage. Slowly our Prefix gets more robust as
184 + we progress here.
185 </p>
186 <pre caption="emerge several tools">
187 $ <i>emerge --oneshot coreutils</i>