| @@ -1,25 +1,27 @@ | | | @@ -1,25 +1,27 @@ |
1 | $NetBSD: README.MacOSX,v 1.9 2010/10/31 21:24:14 gdt Exp $ | | 1 | $NetBSD: README.MacOSX,v 1.10 2011/03/05 12:36:39 gdt Exp $ |
2 | | | 2 | |
3 | | | 3 | |
4 | Mac OS X Snow Leopard Binary ABI problem: | | 4 | Mac OS X Snow Leopard 32/64 (i386/x86_64) ABI issue: |
5 | | | 5 | |
6 | Mac OS X Snow Leopard supports 64-Bit binaries on most Intel Macs | | 6 | Mac OS X Snow Leopard (10.6) supports 64-bit binaries on most Intel |
7 | and builds those by default on such machine. This causes problems | | 7 | Macs and builds those by default on such machine. This causes |
8 | with a lot of packages which get confused because "MACHINE_ARCH" | | 8 | problems with a lot of packages which get confused because |
9 | is set to "i386" (on a 64-bit system!). There are also packages | | 9 | "MACHINE_ARCH" is set to "i386" (on a 64-bit system!). There are also |
10 | that don't support 64-bit under Mac OS X at all. It is therefore | | 10 | packages that don't support 64-bit under Mac OS X at all. Because of |
11 | recommended that use the "--abi 32" option of "bootstrap" | | 11 | this, the default for pkgsrc is use use the 32-bit ABI, which results |
12 | under Mac OS X Snow Leopard at the moment. | | 12 | in packages being compiled and run in i386 mode. For a longer |
| | | 13 | discussion, see: |
| | | 14 | http://mail-index.netbsd.org/pkgsrc-users/2009/09/24/msg010817.html |
13 | | | 15 | |
14 | | | 16 | |
15 | Developer tools: | | 17 | Developer tools: |
16 | | | 18 | |
17 | If you haven't already, you will need to install the Mac OS X Developer | | 19 | If you haven't already, you will need to install the Mac OS X Developer |
18 | Tools package. Depending on the version of OS X you are running, you | | 20 | Tools package. Depending on the version of OS X you are running, you |
19 | may have this on CD. If not, you can download it from Apple's | | 21 | may have this on CD. If not, you can download it from Apple's |
20 | Developer Connection. (You will need to register for a free ADC | | 22 | Developer Connection. (You will need to register for a free ADC |
21 | account.) See http://developer.apple.com/macosx/ for details. | | 23 | account.) See http://developer.apple.com/macosx/ for details. |
22 | | | 24 | |
23 | Note for MacOS X 1.4 (Tiger) you will need to download xcode 2.5 | | 25 | Note for MacOS X 1.4 (Tiger) you will need to download xcode 2.5 |
24 | if you intend to use gcc 4. gcc 4.0.0 bundled with xcode 2.0 on | | 26 | if you intend to use gcc 4. gcc 4.0.0 bundled with xcode 2.0 on |
25 | the desktop installation dvds builds broken pkg_install tools. | | 27 | the desktop installation dvds builds broken pkg_install tools. |
| @@ -48,27 +50,26 @@ libtool = /usr/bin/libtool | | | @@ -48,27 +50,26 @@ libtool = /usr/bin/libtool |
48 | then run: | | 50 | then run: |
49 | | | 51 | |
50 | /opt/ibmcmp/vacpp/6.0/bin/vacpp_configure -gcc /usr -install -force | | 52 | /opt/ibmcmp/vacpp/6.0/bin/vacpp_configure -gcc /usr -install -force |
51 | | | 53 | |
52 | as root to install the configuration. | | 54 | as root to install the configuration. |
53 | | | 55 | |
54 | to bootstrap with xlc, you need to make sure CFLAGS contains "-ma": | | 56 | to bootstrap with xlc, you need to make sure CFLAGS contains "-ma": |
55 | | | 57 | |
56 | env CC=/opt/ibmcmp/vacpp/6.0/bin/xlc CFLAGS=-ma ./bootstrap | | 58 | env CC=/opt/ibmcmp/vacpp/6.0/bin/xlc CFLAGS=-ma ./bootstrap |
57 | | | 59 | |
58 | | | 60 | |
59 | Mac OS X Versions | | 61 | Mac OS X Versions |
60 | | | 62 | |
61 | | | | |
62 | pkgsrc is a volunteer project, and individuals support/fix packages | | 63 | pkgsrc is a volunteer project, and individuals support/fix packages |
63 | and platforms as they choose. However, pkgsrc contributors as a group | | 64 | and platforms as they choose. However, pkgsrc contributors as a group |
64 | share both a bugtracker and norms about what is ok to break and what | | 65 | share both a bugtracker and norms about what is ok to break and what |
65 | is not. To describe these norms, we define levels of concern, keeping | | 66 | is not. To describe these norms, we define levels of concern, keeping |
66 | in mind that there are no guarantees: | | 67 | in mind that there are no guarantees: |
67 | | | 68 | |
68 | SUPPORTED doesn't mean that anyone is required to fix your problem; it | | 69 | SUPPORTED doesn't mean that anyone is required to fix your problem; it |
69 | means that we agree that it is broadly desireable that such problems | | 70 | means that we agree that it is broadly desireable that such problems |
70 | be fixed and that we therefore allow them to be listed in our issue | | 71 | be fixed and that we therefore allow them to be listed in our issue |
71 | tracker. | | 72 | tracker. |
72 | | | 73 | |
73 | DEPRECATED means that individual problems are not of interest, but | | 74 | DEPRECATED means that individual problems are not of interest, but |
74 | pkgsrc overall working is of enough interest to be allowed to be | | 75 | pkgsrc overall working is of enough interest to be allowed to be |
| @@ -86,13 +87,16 @@ Mac OS X as follows: | | | @@ -86,13 +87,16 @@ Mac OS X as follows: |
86 | 10.5: old, but PRs may still be filed. Structurally breaking pkgsrc on | | 87 | 10.5: old, but PRs may still be filed. Structurally breaking pkgsrc on |
87 | 10.5 is considered not ok. [SUPPORTED] | | 88 | 10.5 is considered not ok. [SUPPORTED] |
88 | | | 89 | |
89 | 10.4: very old, and individual pkg PRs may be bounced to authors to | | 90 | 10.4: very old, and individual pkg PRs may be bounced to authors to |
90 | retest with newer versions, and closed if that doesn't happen | | 91 | retest with newer versions, and closed if that doesn't happen |
91 | in 14 days. We will for now consider structurally breaking | | 92 | in 14 days. We will for now consider structurally breaking |
92 | pkgsrc on 10.4 to be undesirable. If keeping support for 10.4 | | 93 | pkgsrc on 10.4 to be undesirable. If keeping support for 10.4 |
93 | causes excessive work for maintainers it may be moved to | | 94 | causes excessive work for maintainers it may be moved to |
94 | IGNORED state any time, without warning. [DEPRECATED] | | 95 | IGNORED state any time, without warning. [DEPRECATED] |
95 | | | 96 | |
96 | 10.3 and below: ancient, and PRs will be summarily closed. It is | | 97 | 10.3 and below: ancient, and PRs will be summarily closed. It is |
97 | acceptable to give zero consideration to causing structural | | 98 | acceptable to give zero consideration to causing structural |
98 | problems on 10.3 and below. [IGNORED] | | 99 | problems on 10.3 and below. [IGNORED] |
| | | 100 | |
| | | 101 | (Note that with the impending release of 10.7, it is likely that 10.4 |
| | | 102 | will be moved to IGNORED.) |