Merge branch 'pretty-print'
authorKim Nguyễn <kn@lri.fr>
Fri, 26 Oct 2012 12:07:00 +0000 (14:07 +0200)
committerKim Nguyễn <kn@lri.fr>
Fri, 26 Oct 2012 12:07:00 +0000 (14:07 +0200)
This branch reworks the pretty-printing infrastructure. This allows to give
the printer of log messages more control on format's boxes (which is necessary
for proper display).

myocamlbuild.ml

index 6f27e4e..6121130 100644 (file)
@@ -20,7 +20,7 @@ let link_flags = [ A"-linkpkg" ]
 let libs_files = List.map (fun s -> "file:" ^ s) cxx_libs_objects
 
 
-let native_compile_flags = ref [A"-fno-PIC"]
+let native_compile_flags = if Sys.word_size = 64 then ref [A"-fno-PIC"] else ref []
 let compile_flags = ref []
 
 let dwsize = sprintf "-DWORDSIZE%i" Sys.word_size