]> The Tcpdump Group git mirrors - libpcap/blob - doc/README.solaris.md
doc: Add notes for OmniOS r151044/AMD64. [skip ci]
[libpcap] / doc / README.solaris.md
1 # Compiling libpcap on Solaris and related OSes
2
3 * Autoconf works everywhere.
4 * Neither Solaris lex nor Solaris yacc are suitable.
5 * Neither illumos lex nor illumos yacc are suitable.
6 * Solaris m4 and illumos m4 are suitable.
7
8 ## OmniOS r151044/AMD64
9
10 * flex 2.6.4 and GNU Bison 3.8.2 work.
11 * CMake 3.24.2 works.
12 * GCC 12.2.0 and Clang 15.0.3 work.
13
14 ## OmniOS r151042/AMD64
15
16 * flex 2.6.4 and GNU Bison 3.8.2 work.
17 * CMake 3.23.1 works.
18 * GCC 11.2.0 and Clang 14.0.3 work.
19
20 ## OpenIndiana 2021.04/AMD64
21
22 * flex 2.6.4 and GNU Bison 3.7.6 work.
23 * CMake 3.21.1 works.
24 * GCC 7.5.0 and GCC 10.3.0 work, Clang 9.0.1 works.
25
26 For reference, the tests were done using a system installed from
27 `OI-hipster-text-20210430.iso` plus the following packages:
28 ```shell
29 xargs -L1 pkg install <<ENDOFTEXT
30 developer/build/autoconf
31 developer/parser/bison
32 developer/lexer/flex
33 developer/build/cmake
34 developer/gcc-10
35 developer/clang-90
36 ENDOFTEXT
37 ```
38
39 ## Solaris 11/AMD64
40
41 * flex 2.6.4 and GNU Bison 3.7.3 work.
42 * CMake 3.21.0 works.
43 * Clang 11.0 works, GCC 11.2 works.
44
45 For reference, the tests were done using Oracle Solaris 11.4.42.111.0.
46
47 ## Solaris 11/SPARC
48
49 * flex 2.6.4 and GNU Bison 3.7.1 work.
50 * CMake 3.14.3 works.
51 * Sun C 5.13, Sun C 5.14 and Sun C 5.15 work; GCC 5.5.0 and GCC 7.3.0 work.
52
53 ## Solaris 10/SPARC
54
55 * libpcap build fails with rpcapd enabled.
56 * flex 2.6.4 and GNU Bison 3.7.1 work.
57 * CMake 3.14.3 works.
58 * Sun C 5.13 works, GCC 5.5.0 works.
59
60 ## Solaris 9/SPARC
61
62 * flex 2.5.35 and GNU Bison 3.0.2 work.
63 * CMake 2.8.9 does not work.
64 * Neither Sun C 5.8 nor Sun C 5.9 work, GCC 4.6.4 works.