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
Date: Mon, 01 Jun 2009 20:03:36
Message-Id: E1MBDjJ-0005Bm-N9@stork.gentoo.org
1 grobian 09/06/01 20:03:33
2
3 Modified: bootstrap-macos.xml
4 Log:
5 update Mac OS X bootstrap guide for 64-bits targets on Intel-based Leopard installs
6
7 Revision Changes Path
8 1.42 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.42&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.42&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.41&r2=1.42
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.41
18 retrieving revision 1.42
19 diff -u -r1.41 -r1.42
20 --- bootstrap-macos.xml 17 Apr 2009 07:10:13 -0000 1.41
21 +++ bootstrap-macos.xml 1 Jun 2009 20:03:33 -0000 1.42
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.41 2009/04/17 07:10:13 grobian Exp $ -->
26 +<!-- $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 $ -->
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.18</version>
35 - <date>2009-04-17</date>
36 + <version>1.19</version>
37 + <date>2009-06-01</date>
38
39 <chapter>
40 <title>Bootstrapping on OS X</title>
41 @@ -52,8 +52,7 @@
42 As prerequisite, you have to have the latest Xcode installed.
43 Xcode provides the compiler collection. Bootstrapping is not
44 (yet) supported without it. If you don't have the latest
45 - Xcode installed and run into trouble, you can try
46 - <c>gcc_select 3.3</c> as root.
47 + Xcode installed and run into trouble, try updating first.
48 </p>
49 <p>
50 The first step is to choose a path to install into. We refer
51 @@ -83,6 +82,13 @@
52 $ <i>export PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATH"</i>
53 </pre>
54 <p>
55 + If you want to end up with a 64-bits native Prefix
56 + installation, then set your <c>CHOST</c> variable accordingly
57 + to <c>x86_64-apple-darwin9</c>. We currently have only an
58 + Intel 64-bits prefix on Leopard tested. You <e>only</e> need
59 + to do this if you want a 64-bits native Prefix!
60 + </p>
61 + <p>
62 Now the path is set, start with downloading the bootstrap
63 script from
64 <uri>http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/scripts/bootstrap-prefix.sh?format=txt</uri>.
65 @@ -128,6 +134,11 @@
66 binutils as used on Linux.
67 </note>
68 <p>
69 + If you are targetting a 64-bits native Prefix, set <c>CC="gcc
70 + -m64"</c>, <c>CXX="g++ -m64"</c> and <c>HOSTCC="gcc
71 + -m64"</c>.
72 + </p>
73 + <p>
74 Because we installed some new applications, we will instruct
75 bash to reconsider all paths we have:
76 </p>
77 @@ -202,6 +213,7 @@
78 $ <i>emerge --oneshot gawk</i>
79 $ <i>emerge --oneshot make</i>
80 $ <i>emerge --oneshot --nodeps file</i>
81 +$ <i>emerge --oneshot --nodeps eselect</i>
82 </pre>
83 <p>
84 Now we have a good bunch of programs that Portage needs, we