diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -2,21 +2,38 @@ Replace strings in binary executables and data files. + + ## System Requirements * `gcc` +* _or_ `clang` +* _or_ Microsoft Visual Studio (`cl.exe`)p * `>=cmake-2.18.11` ## Installing +### Linux / MacOS + ```bash $ git clone https://github.com/jhunkeler/reloc $ mkdir build $ cd build -$ cmake -DCMAKE_INSTALL_PREFIX=/some/place .. +$ cmake -DCMAKE_INSTALL_PREFIX=/some/place -DCMAKE_BUILD_TYPE=Release .. $ make install ``` +### Windows + +```cmd +> git clone https://github.com/jhunkeler/reloc +> cd reloc +> mkdir build +> cd build +> cmake -DCMAKE_INSTALL_PREFIX=c:\some\place -DCMAKE_BUILD_TYPE=Release .. +> cmake --build . --target INSTALL +``` + ## Usage ``` $ reloc <str1> <str2> <input_file> <output_file> |