Author: Frederic Cambus <firstname.lastname@example.org>
Date: Wed, 9 Dec 2015 23:35:53 +0100
Documentation update (build dependencies)
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
@@ -20,7 +20,7 @@ This is a complete rewrite of [AnsiLove/PHP](http://ansilove.sourceforge.net) in
-AnsiLove/C is strictly using the `C99 standard` to achieve high portability to all major operating systems. It's developed from ground up with the vision to compile just fine on your platform. Be sure to link against `libgd` when compiling which is also needed when running the binary. Supported compilers are `GCC` and `Clang`, others may work but aren't tested. We use Linux and Mac OS X for AnsiLove/C development.
+AnsiLove/C is strictly using the `C99 standard` to achieve high portability to all major operating systems. It's developed from ground up with the vision to compile just fine on your platform. Supported compilers are `GCC` and `Clang`, others may work but aren't tested. We use Linux, OpenBSD and Mac OS X for AnsiLove/C development.
Feel free to fork and create Linux packages, [Homebrew](https://github.com/mxcl/homebrew) formulas, whatever.
@@ -28,9 +28,19 @@ Feel free to fork and create Linux packages, [Homebrew](https://github.com/mxcl/
There were many reasons, most notably PHP interpreter independence and performance. A solid C foundation is just perfect for creating libraries and frameworks and it can easily embedded into applications. We already mentioned portability. What else? We wanted evolution. AnsiLove/C should not be understood as a port. It takes many different approaches (like processing binary font dumps or generating @2x Retina images), it is overall improved and introduces new features. While results tend to be the same, the codebase does not have much in common with it's ancestor.
-AnsiLove/C uses the CMake build system :
+AnsiLove/C uses the `CMake` build system and requires the GD library and header files.
+# Installing dependencies
+ OpenBSD : pkg_add -r cmake gd
+ NetBSD : pkgin install cmake gd
+ Mac OS X : brew install cmake gd
+ Alpine Linux : apk add cmake gcc make musl-dev gd-dev
+ Debian / Ubuntu : apt-get install cmake libgd-dev