uatomic/x86: Remove redundant memory barriers
[urcu.git] / doc / solaris-build.md
CommitLineData
d001c886
MJ
1<!--
2SPDX-FileCopyrightText: 2023 EfficiOS Inc.
3
4SPDX-License-Identifier: CC-BY-4.0
5-->
6
ebc346dc
MJ
7# Solaris support
8## Solaris 10
9### Dependencies
10On Solaris 10, the OpenCSW open source software distribution is required for build and runtime dependencies. The following base packages are required :
11
12* SUNWtoo
13* SUNWbtool
14* SUNWhea
15* SUNWarc
16* SUNWarcr
17* SUNWlibmr
18* SUNWlibm
19
20And the following OpenCSW packages are required :
21* automake
22* autoconf
23* libtool
24* bison
25* flex
26* gsed
27* gmake
28* pkgconfig
72886af7 29* libglib2\_dev
ebc346dc
MJ
30* gcc4core
31
32### Build
33
34Add CSW and CCS to PATH :
35```
36export PATH="/opt/csw/bin:/usr/ccs/bin:$PATH"
37```
38
39Build with gmake :
40```
41./bootstrap
42CFLAGS="-D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__=1" MAKE=gmake ./configure
43gmake
44gmake check
45gmake regtest
46gmake install
47```
48
49## Solaris 11
50### Dependencies
51On Solaris 11, the following base packages are required :
52* autoconf
53* automake
54* gnu-make
55* libtool
56* gcc
57* flex
58* bison
59
60### Build
61Add Perl5 to PATH :
62```
63export PATH="$PATH:/usr/perl5/bin"
64```
65
66Build with gmake :
67```
68./bootstrap
69CFLAGS="-D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__=1" MAKE=gmake ./configure --prefix=$PREFIX
70gmake
71gmake check
72gmake regtest
73gmake install
74```
75
This page took 0.033266 seconds and 4 git commands to generate.