| @@ -1,47 +1,43 @@ | | | @@ -1,47 +1,43 @@ |
1 | $NetBSD: README.Solaris,v 1.26 2022/04/09 14:45:32 nia Exp $ | | 1 | $NetBSD: README.Solaris,v 1.27 2022/04/13 07:41:00 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 | As of 2022-04-09, bootstrapping does not work on Tribblix due to the | | 14 | As of 2022-04-09, it isn't possible to use GNU ld. This is relevant |
15 | multi-arch toolchain: | | 15 | on Tribblix: when bootstrapping, ensure /usr/gnu/bin is last in your |
16 | ld: Relocatable linking with relocations from format elf64-x86-64-sol2 | | 16 | $PATH. |
17 | (common.o.o) to format elf32-i386-sol2 (common.o) is not supported. | | | |
18 | | | 17 | |
19 | Prerequisites | | 18 | Prerequisites |
20 | ------------- | | 19 | ------------- |
21 | | | 20 | |
22 | You will need a working C compiler. The two known options are gcc and | | 21 | You will need a working C compiler. The two known options are gcc and |
23 | Sun/Solaris Studio. gcc can come from the OS vendor, or other places. | | 22 | Sun/Solaris Studio. gcc can come from the OS vendor, or other places. |
24 | On some systems, it may only be possible to use the vendor gcc, or | | 23 | On some systems, it may only be possible to use the vendor gcc, or |
25 | there might be no vendor gcc available by default. In general, there's | | 24 | there might be no vendor gcc available by default. In general, there's |
26 | better support for gcc in third-party software, and much better support | | 25 | better support for gcc in third-party software, and much better support |
27 | for gcc on illumos. | | 26 | for gcc on illumos. |
28 | | | 27 | |
29 | As with pkgsrc on other platforms, one should use the same compiler | | 28 | As with pkgsrc on other platforms, one should use the same compiler |
30 | family and ideally the same compiler version for building all packages. | | 29 | family and ideally the same compiler version for building all packages. |
31 | | | 30 | |
32 | At some time in the past, GNU binutils was not usable on some systems, | | | |
33 | but the status is unclear in 2022. | | | |
34 | | | | |
35 | The following packages are the minimum required on Solaris 8 to | | 31 | The following packages are the minimum required on Solaris 8 to |
36 | bootstrap and build packages. | | 32 | bootstrap and build packages. |
37 | | | 33 | |
38 | - SUNWsprot | | 34 | - SUNWsprot |
39 | - SUNWarc | | 35 | - SUNWarc |
40 | - SUNWbtool | | 36 | - SUNWbtool |
41 | - SUNWtoo | | 37 | - SUNWtoo |
42 | - SUNWscpu | | 38 | - SUNWscpu |
43 | - SUNWxcu4 | | 39 | - SUNWxcu4 |
44 | | | 40 | |
45 | Realistically you will need more, such as SUNWlibm, and SUNWlibC for | | 41 | Realistically you will need more, such as SUNWlibm, and SUNWlibC for |
46 | C++ packages if you are using SunPro. | | 42 | C++ packages if you are using SunPro. |
47 | | | 43 | |