From c3e4760338bb518e181a78396f7970f8511913f7 Mon Sep 17 00:00:00 2001 From: Wolfgang Hommel Date: Fri, 14 Feb 2014 15:59:06 +0100 Subject: [PATCH] Updated documentation for v0.9.6 & Makefile consolidation --- README | 4 ++-- README.OSX | 24 +++++++++++++++--------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/README b/README index 566d7a6..c50bd21 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ ======================================================= - libfaketime, version 0.9.5 (October 2013) + libfaketime, version 0.9.6 (March 2014) (previously also know as FakeTime Preload Library) ======================================================= @@ -116,7 +116,7 @@ with, define the environment variable NO_FAKE_STAT, and the intercepted stat calls will be passed through unaltered. On OS X, it is necessary to compile differently, due to the different -behavior dyld has. Use the Makefile.MacOS provided to compile +behavior dyld has. Use the Makefile provided to compile libfaketime.1.dylib. Additionally, instead of using LD_PRELOAD, the variable DYLD_INSERT_LIBRARIES should be set to the path to libfaketime.1.dylib, and the variable DYLD_FORCE_FLAT_NAMESPACE should be diff --git a/README.OSX b/README.OSX index 5c8d5ec..76d959b 100644 --- a/README.OSX +++ b/README.OSX @@ -1,15 +1,15 @@ README file for libfaketime on Mac OS X ======================================= -Support for Mac OS X is still considered preliminary, although many -command line and GUI applications will run stable. +Support for Mac OS X has meanwhile matured and many command line and +GUI applications will run stable. Developments and tests are done on OSX 10.8+ currently, although the current version will also work with OSX 10.7. -Version 0.9.5 no longer works with OSX <= 10.6 due to changes in the -underlying system libraries. If you need libfaketime on OSX <= 10.6, -please use libfaketime version 0.9. +Version 0.9.5 and higher no longer works with OSX <= 10.6 due to +changes in the underlying system libraries. If you need libfaketime +on OSX <= 10.6, please use libfaketime version 0.9. Installing and using libfaketime on OS X is slightly different than @@ -25,17 +25,23 @@ as follows: sudo port install libfaketime -If you use Fink, install using: +Or, if you use Fink, install using: fink install libfaketime -Otherwise, you have to compile and install libfaketime manually; this +Or, if you use Homebrew, install using: + + brew install libfaketime + +Otherwise, you have to compile and install libfaketime manually; this will require a working installation of Xcode and its command line tools on your machine. -Use the OSX-specific Makefile that is provided: +You can compile libfaketime by running the command - make -f Makefile.OSX + make + +in libfaketime's top-level directory. The resulting library will be named libfaketime.1.dylib ; to check whether it works properly, run the test suite and verify whether its