| Left: | ||
| Right: |
| 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 |
|
sergei
2016/06/10 11:36:01
Could you please also add yet one line here?
* To
anton
2016/06/14 07:16:47
Acknowledged.
| |
| 27 | 30 |
| 28 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). | 31 Android: |
|
Wladimir Palant
2016/06/10 21:54:55
I think this is getting confusing as it sort of im
anton
2016/06/14 07:30:30
can you please explain what makes you think about
sergei
2016/06/14 08:05:29
Yeah, the links for windows were also confusing me
anton
2016/06/14 08:07:29
Acknowledged.
| |
| 29 | 32 * The host system should be Linux or OS X |
| 30 If you have a question about another compiler please [create an issue](https://i ssues.adblockplus.org/). | 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). |
|
Wladimir Palant
2016/06/10 21:54:55
While you didn't add this sentence: Are we serious
anton
2016/06/14 07:16:47
i've just left this sentence as it was and i agree
sergei
2016/06/14 08:05:29
Yes, I agree.
Just in case, I would like to preci
| |
| 34 * g++ multilib | |
| 35 | |
| 36 If you have a compilation issue with another compiler please [create an issue](h ttps://issues.adblockplus.org/). | |
| 31 | 37 |
| 32 ### Unix | 38 ### Unix |
| 33 | 39 |
| 34 All you need is Python 2.7 and Make: | 40 All you need is Python 2.7 and Make: |
| 35 | 41 |
| 36 make | 42 make |
| 37 | 43 |
| 38 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: |
| 39 | 45 |
| 40 make ARCH=ia32 | 46 make ARCH=ia32 |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 223 | 229 |
| 224 ### Unix | 230 ### Unix |
| 225 | 231 |
| 226 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: |
| 227 | 233 |
| 228 build/out/abpshell | 234 build/out/abpshell |
| 229 | 235 |
| 230 ### Windows | 236 ### Windows |
| 231 | 237 |
| 232 Just run the project *abpshell*. | 238 Just run the project *abpshell*. |
| LEFT | RIGHT |