Does eatmydata work on OS X? If so, how do you enable it? On ELF-based systems, you would set the LD_PRELOAD environment variable, but I believe that OSX has a different kind of linker, and this wouldn’t work.
Does eatmydata work on OS X? If so, how do you enable it? On
Share
You need to set the
DYLD_INSERT_LIBRARIESvariable to point to thelibeatmydata.dylibfile, and setDYLD_FORCE_FLAT_NAMESPACE=1. For example:To build on OS X from the libeatmydata bzr repository, do:
The
libeatmydata.dylibfile will be in the.libs/directory