Fix: x86 and s390: uatomic __hp() macro C++ support
[userspace-rcu.git] / doc / solaris-build.md
1 # Solaris support
2 ## Solaris 10
3 ### Dependencies
4 On Solaris 10, the OpenCSW open source software distribution is required for build and runtime dependencies. The following base packages are required :
5
6 * SUNWtoo
7 * SUNWbtool
8 * SUNWhea
9 * SUNWarc
10 * SUNWarcr
11 * SUNWlibmr
12 * SUNWlibm
13
14 And the following OpenCSW packages are required :
15 * automake
16 * autoconf
17 * libtool
18 * bison
19 * flex
20 * gsed
21 * gmake
22 * pkgconfig
23 * libglib2_dev
24 * gcc4core
25
26 ### Build
27
28 Add CSW and CCS to PATH :
29 ```
30 export PATH="/opt/csw/bin:/usr/ccs/bin:$PATH"
31 ```
32
33 Build with gmake :
34 ```
35 ./bootstrap
36 CFLAGS="-D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__=1" MAKE=gmake ./configure
37 gmake
38 gmake check
39 gmake regtest
40 gmake install
41 ```
42
43 ## Solaris 11
44 ### Dependencies
45 On Solaris 11, the following base packages are required :
46 * autoconf
47 * automake
48 * gnu-make
49 * libtool
50 * gcc
51 * flex
52 * bison
53
54 ### Build
55 Add Perl5 to PATH :
56 ```
57 export PATH="$PATH:/usr/perl5/bin"
58 ```
59
60 Build with gmake :
61 ```
62 ./bootstrap
63 CFLAGS="-D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__=1" MAKE=gmake ./configure --prefix=$PREFIX
64 gmake
65 gmake check
66 gmake regtest
67 gmake install
68 ```
69
This page took 0.030464 seconds and 4 git commands to generate.