urcu-bp: perform thread registration on urcu_bp_register_thread
[urcu.git] / doc / solaris-build.md
CommitLineData
ebc346dc
MJ
1# Solaris support
2## Solaris 10
3### Dependencies
4On 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
14And 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
28Add CSW and CCS to PATH :
29```
30export PATH="/opt/csw/bin:/usr/ccs/bin:$PATH"
31```
32
33Build with gmake :
34```
35./bootstrap
36CFLAGS="-D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__=1" MAKE=gmake ./configure
37gmake
38gmake check
39gmake regtest
40gmake install
41```
42
43## Solaris 11
44### Dependencies
45On 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
55Add Perl5 to PATH :
56```
57export PATH="$PATH:/usr/perl5/bin"
58```
59
60Build with gmake :
61```
62./bootstrap
63CFLAGS="-D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__=1" MAKE=gmake ./configure --prefix=$PREFIX
64gmake
65gmake check
66gmake regtest
67gmake install
68```
69
This page took 0.03854 seconds and 4 git commands to generate.