Skip to content
Browse files

move presentation submodule into a doc submodule

  • Loading branch information...
1 parent d29d0c8 commit eedfb2472a34f14ba51b77e13c5a049818b3e68d @haggaie committed Dec 8, 2008
Showing with 4 additions and 37 deletions.
  1. +3 −3 .gitmodules
  2. +1 −0 doc
  3. +0 −33 doc/compile_httpd_with_llvm_howto
  4. +0 −1 doc/presentation
View
6 .gitmodules
@@ -16,6 +16,6 @@
[submodule "man"]
path = man
url = http://git.haggai.is-a-geek.org/git/man.git
-[submodule "doc/presentation"]
- path = doc/presentation
- url = http://git.haggai.is-a-geek.org/git/STM-Presentation.git
+[submodule "doc"]
+ path = doc
+ url = /home/haggai/public_git/STM-Project-Docs.git
1 doc
@@ -0,0 +1 @@
+Subproject commit dc940137258c6e2186dad5b73d461c8cf2102b23
View
33 doc/compile_httpd_with_llvm_howto
@@ -1,33 +0,0 @@
-How to compile Apache httpd 2.2.4 using llvm 2.0
-------------------------------------------------
-
-
-1. download httpd and unarchive it.
-2. cd into httpd-2.2.4/build
- edit rules.mk.in as follows:
- - remove the $(EXTRA_CFLAGS) from the ALL_CFLAGS substitution:
- ALL_CFLAGS = $(NOTEST_CFLAGS) $(CFLAGS)
- - change the LINK, SH_LINK and MOD_LINK substitutions as follows:
- LINK = $(LIBTOOL) --mode=link --tag=CC $(LD) @PILDFLAGS@ $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@
- SH_LINK = $(SH_LIBTOOL) --mode=link --tag=CC $(LD) $(LT_LDFLAGS) $(ALL_LDFLAGS) $(SH_LDFLAGS) $(CORE_IMPLIB) $(SH_LIBS) -o $@
- MOD_LINK = $(LIBTOOL) --mode=link --tag=CC $(LD) -static $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@
- - save the changes and exit
-3. set up the environment variables
- - export CC="llvm-gcc"
- - export CXX="llvm-g++"
- - export LD="llvm-ld"
- - export CPP="llvm-cpp"
- - export NOTEST_CFLAGS="-emit-llvm"
-4. run
- ./configure
-5. cd into the build directory and view the config_vars.mk file
- search for the EXTRA_CFLAGS definition and take all options you see there except "-O2 -g"
- in my case this is "-pthread"
- run
- export CFLAGS="-pthread"
- (and all the other options you may have found in EXTRA_CFLAGS)
-6. run
- make distclean && ./configure && make
-7. run
- find . -name '*.bc' -exec cp '{}' <YOUR_INSTALL_PREFIX/bin> \;
- to copy all bytecode files to the bindir.
1 doc/presentation
@@ -1 +0,0 @@
-Subproject commit a2f81698eddb231a64b8d53ac06806914f30731c

0 comments on commit eedfb24

Please sign in to comment.
Something went wrong with that request. Please try again.