Original bug ID: 36
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
I just want to send you some patches that improve the
FreeBSD-support of O'Caml 2.04. Those patches are part
of the changes done in the FreeBSD ports collection
(/usr/ports/lang/ocaml on FreeBSD-systems).
Main additions are the support for the profiler and the
x86 bignum lib.
Regards,
Ronald
--- configure.orig Fri Feb 11 16:15:25 2000
+++ configure Fri Feb 11 16:27:37 2000
@@ -290,6 +290,7 @@
case "$host" in
alpha--osf) arch=alpha; system=digital;;
alpha--linux) arch=alpha; system=linux;;
Original bug ID: 36 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
I just want to send you some patches that improve the FreeBSD-support of O'Caml 2.04. Those patches are part of the changes done in the FreeBSD ports collection (/usr/ports/lang/ocaml on FreeBSD-systems).
Main additions are the support for the profiler and the x86 bignum lib.
Regards, Ronald
--- configure.orig Fri Feb 11 16:15:25 2000 +++ configure Fri Feb 11 16:27:37 2000 @@ -290,6 +290,7 @@ case "$host" in alpha--osf) arch=alpha; system=digital;; alpha--linux) arch=alpha; system=linux;;
@@ -649,6 +652,7 @@ alpha--osf) bignum_arch=alpha;; i[3456]86--linux) bignum_arch=x86;; i[3456]86--beos) bignum_arch=x86;;
--- asmcomp/i386/emit.mlp.orig Fri Feb 11 16:33:42 2000 +++ asmcomp/i386/emit.mlp Fri Feb 11 16:53:31 2000 @@ -713,6 +713,15 @@
popl %edx\n
;popl %ecx\n
;popl %eax\n
pushl %eax\n
;movl %esp, %ebp\n
;pushl %ecx\n
;pushl %edx\n
;call .mcount\n
;popl %edx\n
;popl %ecx\n
;popl %eax\n
| _ -> () (unsupported yet)( Emission of a function declaration )
--- asmrun/i386.S.orig Wed Nov 17 19:56:48 1999 +++ asmrun/i386.S Fri Feb 11 16:51:35 2000 @@ -35,13 +35,22 @@
define FUNCTION_ALIGN 2
endif
-#if defined(PROFILING) && defined(SYS_linux_elf) +#if defined(PROFILING) +#if defined(SYS_linux_elf)
define PROFILE_CAML \
define PROFILE_C \
+#elif defined(SYS_bsd_elf) +#define PROFILE_CAML \
else
define PROFILE_CAML
define PROFILE_C
--- otherlibs/num/bignum/Makefile.orig Thu Dec 4 19:07:35 1997 +++ otherlibs/num/bignum/Makefile Fri Feb 11 16:54:51 2000 @@ -73,7 +73,7 @@ $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" all
alpha: scratch
as s/alphaKerN.s -o o/KerN.o $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" all
pyramid: scratch
--- asmcomp/alpha/emit.mlp.orig Fri Feb 11 16:55:21 2000 +++ asmcomp/alpha/emit.mlp Fri Feb 11 16:56:28 2000 @@ -274,7 +274,7 @@ let rdata_section = match Config.system with "digital" | "openbsd" -> ".rdata"
| "linux" | "netbsd" "freebsd" -> ".section .rodata" | _ -> assert false
( Names of various instructions )
--- otherlibs/graph/open.c.orig Fri Feb 11 18:00:12 2000 +++ otherlibs/graph/open.c Fri Feb 11 17:59:18 2000 @@ -13,6 +13,7 @@ / $Id: open.c,v 1.12 1999/11/18 13:33:53 xleroy Exp $ /
include
+#include
include
include "libgraph.h"
include
--- byterun/config.h.orig Fri Feb 11 18:34:29 2000 +++ byterun/config.h Fri Feb 11 18:34:06 2000 @@ -27,6 +27,7 @@
ifdef HAS_MEMMOVE
undef bcopy
+#include
define bcopy(src,dst,len) memmove((dst), (src), (len))
else
ifdef HAS_BCOPY
-- Give a man a fish, and you feed him for a day. Tell him he should learn how to fish himself, and he'll hate you for a lifetime.