LEFT | RIGHT |
1 libadblockplus | 1 libadblockplus |
2 ============== | 2 ============== |
3 | 3 |
4 A C++ library offering the core functionality of Adblock Plus. | 4 A C++ library offering the core functionality of Adblock Plus. |
5 | 5 |
6 Getting/updating the dependencies | 6 Getting/updating the dependencies |
7 --------------------------------- | 7 --------------------------------- |
8 | 8 |
9 libadblockplus has dependencies that aren't part of this repository. They are | 9 libadblockplus has dependencies that aren't part of this repository. They are |
10 retrieved and updated during the build process, but you can also manually update | 10 retrieved and updated during the build process, but you can also manually update |
11 them by running the following: | 11 them by running the following: |
12 | 12 |
13 ./ensure_dependencies.py | 13 ./ensure_dependencies.py |
14 | 14 |
15 Building | 15 Building |
16 -------- | 16 -------- |
17 | 17 |
18 ### Supported compilers | 18 ### Supported target platforms and prerequisites |
19 | 19 |
20 You need a C++11 compatible compiler to build libadblockplus. | 20 You need a C++11 compatible compiler to build libadblockplus. |
21 | 21 |
22 The compilation was tested with the following compilers: | 22 Win32: |
23 * g++ 4.8 | |
24 * Microsoft Visual Studio 2010, 2012 | 23 * Microsoft Visual Studio 2010, 2012 |
25 * clang 3.4 for Android (from android-ndk-r9, android-ndk-r10c) | 24 |
| 25 Linux: |
| 26 * g++ 5.2 |
| 27 |
| 28 Mac: |
26 * clang 3.6 for OS X | 29 * clang 3.6 for OS X |
27 * To compile for Android on linux one need to install g++-multilib | 30 |
28 | 31 Android: |
29 You can download *android-ndk-r10c* for [Win 32](http://dl.google.com/android/nd
k/android-ndk-r10c-windows-x86.exe), [Win 64](http://dl.google.com/android/ndk/a
ndroid-ndk-r10c-windows-x86_64.exe), [OSX](http://dl.google.com/android/ndk/andr
oid-ndk-r10c-darwin-x86_64.bin), [Linux 32](http://dl.google.com/android/ndk/and
roid-ndk-r10c-linux-x86.bin), [Linux 64](http://dl.google.com/android/ndk/androi
d-ndk-r10c-linux-x86_64.bin). | 32 * The host system should be Linux or OS X |
| 33 * android-ndk-r9, android-ndk-r10c. You can download the latter for [OS X](http:
//dl.google.com/android/ndk/android-ndk-r10c-darwin-x86_64.bin), [Linux 32](http
://dl.google.com/android/ndk/android-ndk-r10c-linux-x86.bin), [Linux 64](http://
dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin). |
| 34 * g++ multilib |
30 | 35 |
31 If you have a compilation issue with another compiler please [create an issue](h
ttps://issues.adblockplus.org/). | 36 If you have a compilation issue with another compiler please [create an issue](h
ttps://issues.adblockplus.org/). |
32 | 37 |
33 ### Unix | 38 ### Unix |
34 | 39 |
35 All you need is Python 2.7 and Make: | 40 All you need is Python 2.7 and Make: |
36 | 41 |
37 make | 42 make |
38 | 43 |
39 The default target architecture is x64. On a 32 bit system, run: | 44 The default target architecture is x64. On a 32 bit system, run: |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 | 229 |
225 ### Unix | 230 ### Unix |
226 | 231 |
227 The shell is automatically built by `make`, you can run it as follows: | 232 The shell is automatically built by `make`, you can run it as follows: |
228 | 233 |
229 build/out/abpshell | 234 build/out/abpshell |
230 | 235 |
231 ### Windows | 236 ### Windows |
232 | 237 |
233 Just run the project *abpshell*. | 238 Just run the project *abpshell*. |
LEFT | RIGHT |