1 |
grobian 09/02/15 10:39:45 |
2 |
|
3 |
Modified: bootstrap-macos.xml bootstrap-solaris.xml |
4 |
Log: |
5 |
Align osx bootstrap with solaris one, emerge patch before gawk, bug #259028 |
6 |
|
7 |
Revision Changes Path |
8 |
1.37 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.37&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.37&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.36&r2=1.37 |
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.36 |
18 |
retrieving revision 1.37 |
19 |
diff -u -r1.36 -r1.37 |
20 |
--- bootstrap-macos.xml 18 Oct 2008 07:55:52 -0000 1.36 |
21 |
+++ bootstrap-macos.xml 15 Feb 2009 10:39:45 -0000 1.37 |
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.36 2008/10/18 07:55:52 grobian Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v 1.37 2009/02/15 10:39:45 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.13</version> |
35 |
- <date>2008-10-17</date> |
36 |
+ <version>1.14</version> |
37 |
+ <date>2009-02-15</date> |
38 |
|
39 |
<chapter> |
40 |
<title>Bootstrapping on OS X</title> |
41 |
@@ -49,7 +49,7 @@ |
42 |
<title>Bootstrapping</title> |
43 |
<body> |
44 |
<p> |
45 |
- As prerequisite, you have to have latest Xcode installed. |
46 |
+ As prerequisite, you have to have the latest Xcode installed. |
47 |
Xcode provides the compiler collection. Bootstrapping is not |
48 |
(yet) supported without it. If you don't have the latest |
49 |
Xcode installed and run into trouble, you can try |
50 |
@@ -92,6 +92,7 @@ |
51 |
<pre caption="Use the bootstrap script"> |
52 |
$ <i>chmod 755 bootstrap-prefix.sh</i> |
53 |
$ <i>./bootstrap-prefix.sh $EPREFIX tree</i> |
54 |
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp make</i> |
55 |
$ <i>./bootstrap-prefix.sh $EPREFIX/tmp wget</i> |
56 |
$ <i>./bootstrap-prefix.sh $EPREFIX/tmp sed</i> |
57 |
$ <i>./bootstrap-prefix.sh $EPREFIX/tmp python</i> |
58 |
@@ -120,11 +121,11 @@ |
59 |
$ <i>export CPPFLAGS="-I${EPREFIX}/usr/include"</i> |
60 |
</pre> |
61 |
<note> |
62 |
- The <c>-search_paths_first</c> flag is OSX/odcctools only. It |
63 |
+ The <c>-search_paths_first</c> flag is OSX' cctools only. It |
64 |
instructs the linker to look first in the provided paths, then |
65 |
if that fails in the system (default) paths. This is the |
66 |
default behaviour for many other linkers, including GNU |
67 |
- binutils' one as used on Linux. |
68 |
+ binutils as used on Linux. |
69 |
</note> |
70 |
<p> |
71 |
Because we installed some new applications, we will instruct |
72 |
@@ -151,7 +152,7 @@ |
73 |
</p> |
74 |
<pre caption="emerge bash and wget"> |
75 |
$ <i>emerge --oneshot --nodeps wget</i> |
76 |
-$ <i>emerge --oneshot bash</i> |
77 |
+$ <i>emerge --oneshot =bash-3.2_p17-r1</i> (avoid autotools) |
78 |
</pre> |
79 |
<note> |
80 |
It is safe to ignore the "1 config files in XXX need updating" |
81 |
@@ -167,7 +168,10 @@ |
82 |
</p> |
83 |
<pre caption="emerge linker and compiler"> |
84 |
$ <i>emerge --oneshot --nodeps baselayout-prefix</i> |
85 |
+$ <i>emerge --oneshot --nodeps lzma-utils</i> |
86 |
+$ <i>emerge --oneshot --nodeps m4</i> |
87 |
$ <i>emerge --oneshot --nodeps flex</i> |
88 |
+$ <i>emerge --oneshot --nodeps bison</i> |
89 |
$ <i>emerge --oneshot --nodeps binutils-config</i> |
90 |
$ <i>emerge --oneshot --nodeps binutils-apple</i> |
91 |
$ <i>emerge --oneshot --nodeps gcc-config</i> |
92 |
@@ -193,8 +197,8 @@ |
93 |
$ <i>emerge --oneshot findutils</i> |
94 |
$ <i>emerge --oneshot tar</i> |
95 |
$ <i>emerge --oneshot grep</i> |
96 |
-$ <i>emerge --oneshot gawk</i> |
97 |
$ <i>emerge --oneshot patch</i> |
98 |
+$ <i>emerge --oneshot gawk</i> |
99 |
$ <i>emerge --oneshot make</i> |
100 |
</pre> |
101 |
<p> |
102 |
|
103 |
|
104 |
|
105 |
1.41 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml |
106 |
|
107 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?rev=1.41&view=markup |
108 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?rev=1.41&content-type=text/plain |
109 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?r1=1.40&r2=1.41 |
110 |
|
111 |
Index: bootstrap-solaris.xml |
112 |
=================================================================== |
113 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v |
114 |
retrieving revision 1.40 |
115 |
retrieving revision 1.41 |
116 |
diff -u -r1.40 -r1.41 |
117 |
--- bootstrap-solaris.xml 4 Feb 2009 20:10:44 -0000 1.40 |
118 |
+++ bootstrap-solaris.xml 15 Feb 2009 10:39:45 -0000 1.41 |
119 |
@@ -1,6 +1,6 @@ |
120 |
<?xml version="1.0" encoding="UTF-8"?> |
121 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
122 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v 1.40 2009/02/04 20:10:44 grobian Exp $ --> |
123 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v 1.41 2009/02/15 10:39:45 grobian Exp $ --> |
124 |
|
125 |
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml" lang="en"> |
126 |
<title>Gentoo Prefix Bootstrap Process for Solaris</title> |
127 |
@@ -19,8 +19,8 @@ |
128 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
129 |
<license/> |
130 |
|
131 |
- <version>1.20</version> |
132 |
- <date>2009-02-04</date> |
133 |
+ <version>1.21</version> |
134 |
+ <date>2009-02-15</date> |
135 |
|
136 |
<chapter> |
137 |
<title>Bootstrapping on Solaris</title> |
138 |
@@ -229,8 +229,8 @@ |
139 |
$ <i>emerge --oneshot findutils</i> |
140 |
$ <i>emerge --oneshot tar</i> |
141 |
$ <i>emerge --oneshot grep</i> |
142 |
-$ <i>emerge --oneshot gawk</i> |
143 |
$ <i>emerge --oneshot patch</i> |
144 |
+$ <i>emerge --oneshot gawk</i> |
145 |
$ <i>emerge --oneshot make</i> |
146 |
</pre> |
147 |
<p> |
148 |
@@ -277,7 +277,7 @@ |
149 |
<c>CFLAGS</c>! Note that the code below is an example, and is |
150 |
meant for inspiration only. |
151 |
</p> |
152 |
- <pre caption="customising the Prefix installation - example"> |
153 |
+ <pre caption="Customising the Prefix installation - example"> |
154 |
$ <i>echo 'USE="unicode nls"' >> $EPREFIX/etc/make.conf</i> |
155 |
$ <i>echo 'CFLAGS="-O2 -pipe"' >> $EPREFIX/etc/make.conf</i> |
156 |
$ <i>echo 'CXXFLAGS="${CFLAGS}"' >> $EPREFIX/etc/make.conf</i> |