Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

update README with info on re-compiling

while pre-compiling a binary supporting 10.5 and ppc has become unreasonably painful on a modern mac, it should now be possible for a 10.5 ppc user to do. document the changes made to the build system.
  • Loading branch information...
commit 95dbc0f553030356467ab4785e54507e6cd9fa6e 1 parent a942a09
Travis Tilley authored December 31, 2012

Showing 1 changed file with 15 additions and 0 deletions. Show diff stats Hide diff stats

  1. 15  README.rdoc
15  README.rdoc
Source Rendered
@@ -15,6 +15,21 @@ Very simple & usable Mac OSX FSEvents API
15 15
 
16 16
     gem install rb-fsevent
17 17
 
  18
+=== re-compilation
  19
+
  20
+rb-fsevent comes with a pre-compiled fsevent_watch binary supporting x86_64 and i386 on 10.6 and above. The binary is codesigned with my (Travis Tilley) Developer ID as an extra precaution when distributing pre-compiled code and contains an embedded plist describing its build environment. This should be sufficient for most users, but if you need to use rb-fsevent on 10.5 and/or on PPC then recompilation is necessary. This can be done by entering the installed gem's ext directory and running:
  21
+
  22
+    MACOSX_DEPLOYMENT_TARGET="10.5" CC=/usr/bin/gcc-4.2 rake ppc replace_exe
  23
+
  24
+The following ENV vars are recognized:
  25
+
  26
+- CC
  27
+- CFLAGS
  28
+- ARCHFLAGS
  29
+- MACOSX_DEPLOYMENT_TARGET
  30
+- FWDEBUG (enables debug mode, printing an obscene number of informational messages to STDERR)
  31
+
  32
+
18 33
 == Usage
19 34
 
20 35
 === Singular path

0 notes on commit 95dbc0f

Please sign in to comment.
Something went wrong with that request. Please try again.