From eccdd8010150176182a4a3cf3cb0698171dc3142 Mon Sep 17 00:00:00 2001 From: mouseym Date: Sun, 21 Jul 2013 18:15:05 +0100 Subject: [PATCH] Update INSTALL.md OSX Instructions added. --- INSTALL.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index b4e28379..97bef179 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -27,6 +27,23 @@ For example, to build [`Messenger_test.c`](/others/Messenger_test.c) you would r make Messenger_test ``` +###OSX: + +Much the same as above, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools). +Users running Mountain Lion and the latest version of XCode (4.6.3) will also need to install libtool +Libtool is easy enough to install, grab it from http://www.gnu.org/software/libtool/ and: + +./configure +make +sudo make install + +Do not install it from macports (or any dependencies for that matter) as they get shoved in the wrong directory +and make your life more annoying. + +Another thing you may want to install is the latest gcc, this caused me a few problems as XCode from 4.3 +no longer includes gcc and instead uses LLVM-GCC, a nice install guide can be found at +http://caiustheory.com/install-gcc-421-apple-build-56663-with-xcode-42 + ###Windows: You should install: @@ -49,4 +66,4 @@ mingw32-make name_of_c_file For example, to build [`Messenger_test.c`](/others/Messenger_test.c) you would run: ```cmd mingw32-make Messenger_test -``` \ No newline at end of file +```