changeset 13:0c91843d63c0

add README.txt and make info page on wiki
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 19 Aug 2013 14:02:11 +0900
parents 449dd23ac5df
children a71c80ca9668
files CbC_Documents/README.txt
diffstat 1 files changed, 54 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CbC_Documents/README.txt	Mon Aug 19 14:02:11 2013 +0900
@@ -0,0 +1,54 @@
+infomation for CbC project on LLVM
+Japanese infomation is here (http://www.cr.ie.u-ryukyu.ac.jp/~game/pukiwiki/index.php?llvm)
+
+
+* install CbC_llvm
+
+
+1. get CbC_llvm from mercurial 
+
+   $ hg clone ssh://one@www.cr.ie.u-ryukyu.ac.jp/hg/CbC/CbC_llvm (dist dir)
+
+2. make directory for install (!! You shouldn't install CbC_llvm soruce directory , you must make another directory for install. !!)
+
+   $ mkdir (install dir path)
+   $ cd (install dir path)
+
+3. exec configure with options.
+
+   $ (CbC_llvm path)/configure --prefix=$PWD --disable-optimized --enable-debug-runtime --enable-debug-symbols --enable-assertions --disable-bootstrap --enable-languages=c
+
+   when you want option's infomation , look at llvm documents.
+
+4. make
+
+   $ make -j
+
+   if errors occuerd , remove option '-j' and remake it.
+
+5. check llvm
+
+   $ (install dir path)/Debug+Asserts/bin/clang -v
+
+   You can watch version info if make succeeded.
+
+
+
+* check llvm version without installing
+
+   $ configure -V
+
+
+* run on gdb
+
+1. compile source file with onption -v. (get args for run on gdb)
+
+   $ (CbC_LLVM) (source file) -v |& grep cc1
+
+   then, copy outputed line which has many arguments.
+
+2. exec gdb
+
+   $ gdb --args (source file path) (paste copied args here)
+
+   gdb should work!