X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Fdoc.git;a=blobdiff_plain;f=source%2Finstalling.rst;h=a90e5f93b8d8c624fb8cc0a0b312fe9817770774;hp=e1fb8f03607401b18e8d68225effdf158183ec73;hb=f1cf61549b2053fd104fb79b34c1fceaa38d1cdf;hpb=91ee634c1709d3722ce71ba766f3da56b374147a diff --git a/source/installing.rst b/source/installing.rst index e1fb8f0..a90e5f9 100644 --- a/source/installing.rst +++ b/source/installing.rst @@ -39,9 +39,22 @@ I would recommend an out-of tree build which works as follows mkdir build cd build - cmake .. + cmake -DCMAKE_BUILD_TYPE=Release .. make -j Which should generate you a frida binary. If you don't want to install gmoch/gtest you need to remove the stanzas from CMakeList and not run the tests. + +Running +======= + +If you want to run frida from the build directory instead of +installing it, you need to export ``LD_LIBRARY_PATH`` pointing to +your build directory so frida can find it's plugins and shared +libraries. Run it like + +.. code-block:: bash + + export LD_LIBRARY_PATH=`pwd`/build + build/frida