forked from danmar/cppcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-pcre.txt
More file actions
40 lines (20 loc) · 767 Bytes
/
build-pcre.txt
File metadata and controls
40 lines (20 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Some temporary build instructions. This is work in progress.
Windows
Visual Studio
To build pcre I downloaded the sourcecode from www.pcre.org. I downloaded cmake 2.8.
Then I built the lib with:
cmake .
nmake
The resulting files can be downloaded here (please try if it works):
http://cppcheck.sf.net/pcre-8.10-vs.zip
MINGW (Qt 4.7 SDK)
I downloaded pcre-8.0-lib.zip from here: http://software-download.name/pcre-library-windows/
Linux
The normal Makefile should work
Install pcre on ubuntu might be needed:
sudo apt-get install libpcre3 libpcre3-dev
Mac OSX
Install pcre:
sudo port install pcre
Ensure /path/to/pcre.h is in CXXFLAGS, e.g:
export CXXFLAGS=${CXXFLAGS}:/opt/local/include