| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | $NetBSD: README.Solaris,v 1.24 2022/04/05 12:38:32 gdt Exp $ | | 1 | $NetBSD: README.Solaris,v 1.25 2022/04/05 14:00:02 nia Exp $ |
2 | | | 2 | |
3 | This README describes pkgsrc on a variety of Solaris-derived operating | | 3 | This README describes pkgsrc on a variety of Solaris-derived operating |
4 | systems. It corresponds to pkgsrc/platform/SunOS.mk. The relevant | | 4 | systems. It corresponds to pkgsrc/platform/SunOS.mk. The relevant |
5 | operating systems are: | | 5 | operating systems are: |
6 | - illumos (open source fork, OpenIndiana, OmniOS, SmartOS, and others) | | 6 | - illumos (open source fork, OpenIndiana, OmniOS, SmartOS, and others) |
7 | - Solaris (from Sun/Oracle, also Sun Solaris, Oracle Solaris) | | 7 | - Solaris (from Sun/Oracle, also Sun Solaris, Oracle Solaris) |
8 | - OpenSolaris (from Sun; superseded long ago by illumos) | | 8 | - OpenSolaris (from Sun; superseded long ago by illumos) |
9 | | | 9 | |
10 | As of 2022, the primary platforms of interest where pkgsrc is known to | | 10 | As of 2022, the primary platforms of interest where pkgsrc is known to |
11 | work well are illumos distributions, Solaris 10, and Solaris 11. | | 11 | work well are illumos distributions, Solaris 10, and Solaris 11. |
12 | pkgsrc is not currently known to work on SunOS 4 or OpenSolaris. | | 12 | pkgsrc is not currently known to work on SunOS 4 or OpenSolaris. |
13 | | | 13 | |
14 | Prerequisites | | 14 | Prerequisites |
| @@ -61,27 +61,27 @@ Sun's gcc package): | | | @@ -61,27 +61,27 @@ Sun's gcc package): |
61 | On illumos you can configure a ipkg or sparse branded zone to host your | | 61 | On illumos you can configure a ipkg or sparse branded zone to host your |
62 | pkgsrc tree. Since the software database is generally managed | | 62 | pkgsrc tree. Since the software database is generally managed |
63 | independently from the host, the same essential development tools, | | 63 | independently from the host, the same essential development tools, |
64 | required to deploy pkgsrc on the host distribution, need to be installed | | 64 | required to deploy pkgsrc on the host distribution, need to be installed |
65 | within the zone. | | 65 | within the zone. |
66 | | | 66 | |
67 | OmniOS also provides pkgsrc branded zones. A pkgsrc zone is a sparse | | 67 | OmniOS also provides pkgsrc branded zones. A pkgsrc zone is a sparse |
68 | zone which is pre-configured to use Joyent’s binary package repository. | | 68 | zone which is pre-configured to use Joyent’s binary package repository. |
69 | Refer to https://omnios.org/setup/zones | | 69 | Refer to https://omnios.org/setup/zones |
70 | | | 70 | |
71 | General | | 71 | General |
72 | ------ | | 72 | ------ |
73 | | | 73 | |
74 | Sun Solaris and Illumos come by default with a mixed {32,64}-bit | | 74 | Solaris and illumos come by default with a mixed {32,64}-bit |
75 | userland. This can include the compiler, which may have shipped as a | | 75 | userland. This can include the compiler, which may have shipped as a |
76 | 32-bit ELF. In this case, the compiler by default will create 32-bit | | 76 | 32-bit ELF. In this case, the compiler by default will create 32-bit |
77 | executables and shared libraries, unless told otherwise. | | 77 | executables and shared libraries, unless told otherwise. |
78 | | | 78 | |
79 | To build 64-bit binaries, pass '--abi=64' to bootstrap, and also see | | 79 | To build 64-bit binaries, pass '--abi=64' to bootstrap, and also see |
80 | the crle(1) man page to configure the runtime linking environment. | | 80 | the crle(1) man page to configure the runtime linking environment. |
81 | 64-bit runtime libraries can be usually found at /usr/lib/amd64. | | 81 | 64-bit runtime libraries can be usually found at /usr/lib/amd64. |
82 | NB: passing '-m64' to the compiler is not needed when using --abi=64. | | 82 | NB: passing '-m64' to the compiler is not needed when using --abi=64. |
83 | | | 83 | |
84 | It is unclear whether --abi=64 is still a requirement on some modern | | 84 | It is unclear whether --abi=64 is still a requirement on some modern |
85 | illumos distributions, which provide a 64bit compiler. Joyent doesn't | | 85 | illumos distributions, which provide a 64bit compiler. Joyent doesn't |
86 | mention it in their pkgsrc bootstrap guide for SmartOS. | | 86 | mention it in their pkgsrc bootstrap guide for SmartOS. |
87 | | | 87 | |