1 |
grobian 10/07/02 14:24:30 |
2 |
|
3 |
Modified: bootstrap-macos.xml |
4 |
Log: |
5 |
update documentation to deal with people having a recent Xcode which ships gcc-4.2.1 by default |
6 |
|
7 |
Revision Changes Path |
8 |
1.51 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.51&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.51&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?r1=1.50&r2=1.51 |
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.50 |
18 |
retrieving revision 1.51 |
19 |
diff -u -r1.50 -r1.51 |
20 |
--- bootstrap-macos.xml 3 May 2010 18:15:41 -0000 1.50 |
21 |
+++ bootstrap-macos.xml 2 Jul 2010 14:24:30 -0000 1.51 |
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.50 2010/05/03 18:15:41 grobian Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v 1.51 2010/07/02 14:24:30 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.25</version> |
35 |
- <date>2010-05-03</date> |
36 |
+ <version>1.26</version> |
37 |
+ <date>2010-07-02</date> |
38 |
|
39 |
<chapter> |
40 |
<title>Bootstrapping on OS X</title> |
41 |
@@ -161,14 +161,30 @@ |
42 |
availability of the <c>baselayout</c> package for all |
43 |
communication using the Gentoo colour scheme. |
44 |
</p> |
45 |
- <pre caption="emerge linker and compiler"> |
46 |
+ <pre caption="emerge prerequisites for compiler and linker"> |
47 |
$ <i>emerge --oneshot --nodeps baselayout-prefix</i> |
48 |
$ <i>emerge --oneshot --nodeps xz-utils</i> |
49 |
$ <i>emerge --oneshot --nodeps m4</i> |
50 |
$ <i>emerge --oneshot --nodeps flex</i> |
51 |
$ <i>emerge --oneshot --nodeps bison</i> |
52 |
$ <i>emerge --oneshot --nodeps binutils-config</i> |
53 |
-$ <i>emerge --oneshot --nodeps "=binutils-apple-3.2"</i> (>3.2 needs >=gcc-apple-4.2.1) |
54 |
+ </pre> |
55 |
+ <p> |
56 |
+ Due to different versions of Xcode, the following step |
57 |
+ requires some close watch to the output of <c>gcc |
58 |
+ --version</c>. If the first line reports a version <e> |
59 |
+ 4.2.1</e>, the latest binutils-apple needs to be emerged, |
60 |
+ otherwise, version should report <e>4.0.1</e> and |
61 |
+ <c>=binutils-apple-3.2</c> must be emerged. |
62 |
+ </p> |
63 |
+ <pre caption="emerge linker"> |
64 |
+$ <i>emerge --oneshot --nodeps "=binutils-apple-3.2"</i> (for gcc 4.0.1) |
65 |
+$ <i>emerge --oneshot --nodeps binutils-apple-3.2</i> (for gcc 4.2.1) |
66 |
+ </pre> |
67 |
+ <p> |
68 |
+ Now continue with the compiler. |
69 |
+ </p> |
70 |
+ <pre caption="emerge compiler"> |
71 |
$ <i>emerge --oneshot --nodeps gcc-config</i> |
72 |
$ <i>emerge --oneshot --nodeps gcc-apple</i> |
73 |
</pre> |