Permalink
Browse files

Stuff

  • Loading branch information...
1 parent c226911 commit 03ef07bbcfa6c58993b65e378752fd81e19e0bb1 @lucasaiu committed Sep 12, 2013
View
BIN boot/myocamlbuild
Binary file not shown.
View
BIN boot/ocamlc
Binary file not shown.
View
BIN boot/ocamlrun
Binary file not shown.
View
BIN boot/ocamlrun.boot
Binary file not shown.
View
BIN boot/ocamlyacc
Binary file not shown.
View
BIN boot/stdlib.cma
Binary file not shown.
View
17 config/m.h
@@ -1,12 +1,15 @@
-#undef ARCH_SIXTYFOUR
+#ifndef __PIC__
+# define ARCH_CODE32
+#endif
+#define ARCH_SIXTYFOUR
#define SIZEOF_INT 4
-#define SIZEOF_LONG 4
-#define SIZEOF_PTR 4
+#define SIZEOF_LONG 8
+#define SIZEOF_PTR 8
#define SIZEOF_SHORT 2
-#define ARCH_INT64_TYPE long long
-#define ARCH_UINT64_TYPE unsigned long long
-#define ARCH_INT64_PRINTF_FORMAT "ll"
-#define ARCH_BIG_ENDIAN
+#define ARCH_INT64_TYPE long
+#define ARCH_UINT64_TYPE unsigned long
+#define ARCH_INT64_PRINTF_FORMAT "l"
+#undef ARCH_BIG_ENDIAN
#undef ARCH_ALIGN_DOUBLE
#undef ARCH_ALIGN_INT64
#undef NONSTANDARD_DIV_MOD
View
4 config/s.h
@@ -46,7 +46,9 @@
#define HAS_PWRITE
#define HAS_GETHOSTBYNAME_R 6
#define HAS_GETHOSTBYADDR_R 8
+#define HAS_STACK_OVERFLOW_DETECTION
#define HAS_PTHREAD
#define HAS_SIGWAIT
-// #define SUPPORTS_MULTICONTEXT /* not supported */
+#define SUPPORTS_MULTICONTEXT
// #define HAS_MULTICONTEXT /* disabled or not supported */
+#define HAS_LIBBFD
View
18 myocamlbuild_config.ml
@@ -1,4 +1,4 @@
-(* # generated by ./configure --prefix /home/luca/usr-patched-ocaml/ --with-debug-runtime *)
+(* # generated by ./configure --with-debug-runtime --no-multicontext --prefix /home/luca/usr-patched-ocaml/ *)
let prefix = "/home/luca/usr-patched-ocaml/";;
let bindir = prefix^"/bin";;
let libdir = prefix^"/lib/ocaml";;
@@ -9,14 +9,14 @@ let ranlib = "ranlib";;
let ranlibcmd = "ranlib";;
let arcmd = "ar";;
let sharpbangscripts = true;;
-let bng_arch = "ppc";;
+let bng_arch = "amd64";;
let bng_asm_level = "1";;
let pthread_link = "-cclib -lpthread";;
let x11_includes = "not found";;
let x11_link = "not found";;
let tk_defs = "";;
let tk_link = "";;
-let libbfd_link = "";;
+let libbfd_link = "-lbfd -ldl -liberty -lz";;
let bytecc = "gcc";;
let bytecccompopts = "-fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT";;
let bytecclinkopts = " -Wl,-E";;
@@ -33,19 +33,19 @@ let syslib x = "-l"^x;;
(* ## *)
(* MKLIB=ar rc "^1^" "^2^"; ranlib "^1^" *)
let mklib out files opts = Printf.sprintf "ar rc %s %s %s; ranlib %s" out opts files out;;
-let arch = "power";;
-let model = "ppc";;
-let system = "elf";;
+let arch = "amd64";;
+let model = "default";;
+let system = "linux";;
let nativecc = "gcc";;
let nativecccompopts = "-Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT";;
let nativeccprofopts = "-Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT";;
let nativecclinkopts = "";;
let nativeccrpath = "-Wl,-rpath,";;
let nativecclibs = " -lm -ldl -lpthread";;
-let asm = "as -u -m ppc";;
+let asm = "as";;
let aspp = "gcc -c";;
let asppprofflags = "-DPROFILING";;
-let profiling = "noprof";;
+let profiling = "prof";;
let dynlinkopts = " -ldl";;
let otherlibraries = "unix str num dynlink bigarray systhreads threads";;
let debugger = "ocamldebugger";;
@@ -74,5 +74,5 @@ let mkmaindll = "gcc -shared";;
let runtimed = "runtimed";;
let camlp4 = "camlp4";;
let asm_cfi_supported = true;;
-let multicontext_supported = false;;
+let multicontext_supported = true;;
let multicontext_enabled = false;;
View
18 tools/myocamlbuild_config.ml
@@ -1,4 +1,4 @@
-(* # generated by ./configure --prefix /home/luca/usr-patched-ocaml/ --with-debug-runtime *)
+(* # generated by ./configure --with-debug-runtime --no-multicontext --prefix /home/luca/usr-patched-ocaml/ *)
let prefix = "/home/luca/usr-patched-ocaml/";;
let bindir = prefix^"/bin";;
let libdir = prefix^"/lib/ocaml";;
@@ -9,14 +9,14 @@ let ranlib = "ranlib";;
let ranlibcmd = "ranlib";;
let arcmd = "ar";;
let sharpbangscripts = true;;
-let bng_arch = "ppc";;
+let bng_arch = "amd64";;
let bng_asm_level = "1";;
let pthread_link = "-cclib -lpthread";;
let x11_includes = "not found";;
let x11_link = "not found";;
let tk_defs = "";;
let tk_link = "";;
-let libbfd_link = "";;
+let libbfd_link = "-lbfd -ldl -liberty -lz";;
let bytecc = "gcc";;
let bytecccompopts = "-fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT";;
let bytecclinkopts = " -Wl,-E";;
@@ -33,19 +33,19 @@ let syslib x = "-l"^x;;
(* ## *)
(* MKLIB=ar rc "^1^" "^2^"; ranlib "^1^" *)
let mklib out files opts = Printf.sprintf "ar rc %s %s %s; ranlib %s" out opts files out;;
-let arch = "power";;
-let model = "ppc";;
-let system = "elf";;
+let arch = "amd64";;
+let model = "default";;
+let system = "linux";;
let nativecc = "gcc";;
let nativecccompopts = "-Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT";;
let nativeccprofopts = "-Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT";;
let nativecclinkopts = "";;
let nativeccrpath = "-Wl,-rpath,";;
let nativecclibs = " -lm -ldl -lpthread";;
-let asm = "as -u -m ppc";;
+let asm = "as";;
let aspp = "gcc -c";;
let asppprofflags = "-DPROFILING";;
-let profiling = "noprof";;
+let profiling = "prof";;
let dynlinkopts = " -ldl";;
let otherlibraries = "unix str num dynlink bigarray systhreads threads";;
let debugger = "ocamldebugger";;
@@ -74,5 +74,5 @@ let mkmaindll = "gcc -shared";;
let runtimed = "runtimed";;
let camlp4 = "camlp4";;
let asm_cfi_supported = true;;
-let multicontext_supported = false;;
+let multicontext_supported = true;;
let multicontext_enabled = false;;

0 comments on commit 03ef07b

Please sign in to comment.