aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..6744d1e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,23 @@
+# elfinfo - Extract info from ELF files
+
+# Building
+
+This code currently depend on experimental patches for Antlr4's C++ runtime which has to be build first. This should
+more or less do it:
+
+ git clone https://github.com/trygvis/antlr4
+ cd antlr4
+ mkdir build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/antlr-cpp ..
+ make
+ make install
+
+This will build and install Antlr4 into $HOME/opt/antlr-cpp.
+
+To build this code follow a similar approach:
+
+ mkdir build
+ cmake .. -DAntlr4_DIR=$HOME/opt/antlr-cpp/lib/cmake/Antlr4
+ make
+ make install