about summary refs log tree commit diff stats
path: root/README.md
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2015-01-18 17:41:27 +0100
committerCamille Mougey <camille.mougey@cea.fr>2015-01-18 17:41:27 +0100
commit5d5cfdef6bbf71ca38b8fbeeb78ba57731a66a75 (patch)
tree615a9e0325edb9b28ca0af0d41b357dfc6d7f4df /README.md
parent798ae526f4a1862ce189f073cbd2bbe27c813ed5 (diff)
downloadmiasm-5d5cfdef6bbf71ca38b8fbeeb78ba57731a66a75.tar.gz
miasm-5d5cfdef6bbf71ca38b8fbeeb78ba57731a66a75.zip
TCC install: use --disable-static instead of sed//-fPIC/ (see #36)
Diffstat (limited to 'README.md')
-rw-r--r--README.md37
1 files changed, 9 insertions, 28 deletions
diff --git a/README.md b/README.md
index 2a097305..e50ff3ba 100644
--- a/README.md
+++ b/README.md
@@ -456,34 +456,15 @@ sudo python setup.py install
 ```
 
 * To use the jitter, TCC or LLVM is recommended
-* LibTCC needs a little fix in the `Makefile`:
-  * remove libtcc-dev from the system to avoid conflicts
-  * clone [tinycc release_0_9_26](http://repo.or.cz/w/tinycc.git/snapshot/d5e22108a0dc48899e44a158f91d5b3215eb7fe6.tar.gz)
-  * edit the `Makefile`
-  * add option `-fPIC` to the `CFLAGS` definition: `CFLAGS+= -fPIC`
-
-```
-#
-# Tiny C Compiler Makefile
-#
-
-TOP ?= .
-include $(TOP)/config.mak
-VPATH = $(top_srcdir)
-
-CPPFLAGS = -I$(TOP) # for config.h
-
-# ADD NEXT LINE:
-CFLAGS+= -fPIC
-...
-```
-
-  * `./configure && make && make install`
-  * LLVM
-    * Debian (testing/unstable): install python-llvm
-    * Debian stable/Ubuntu/Kali/whatever: install from [llvmpy](http://www.llvmpy.org/)
-    * Windows: python-llvm is not supported :/
-  * Build and install Miasm:
+* LibTCC needs to be configured with the `--disable-static` option
+  * remove `libtcc-dev` from the system to avoid conflicts
+  * clone [TinyCC](http://repo.or.cz/tinycc.git)
+  * `./configure --disable-static && make && make install`
+* LLVM
+  * Debian (testing/unstable): install python-llvm
+  * Debian stable/Ubuntu/Kali/whatever: install from [llvmpy](http://www.llvmpy.org/)
+  * Windows: python-llvm is not supported :/
+* Build and install Miasm:
 ```
 $ cd miasm_directory
 $ python setup.py build