Version française
Home     About     Download     Resources     Contact us    
Browse thread
OCaml and Leopard
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gordon Henriksen <gordonhenriksen@m...>
Subject: Re: [Caml-list] OCaml and Leopard
On Nov 2, 2007, at 15:24, Joel Reymont wrote:

> I'm having trouble compiling OCaml from CVS on Mac OSX Leopard.
>
> + cd asmrun
> + make all meta.o dynlink.o
> ...
> gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 - 
> DSYS_macosx  -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT   -c -o  
> signals_asm.o signals_asm.c
> signals_asm.c: In function ‘segv_handler’:
> signals_asm.c:193: error: dereferencing pointer to incomplete type
> signals_asm.c:193: error: dereferencing pointer to incomplete type
> signals_asm.c: In function ‘caml_init_signals’:
> signals_asm.c:241: error: storage size of ‘stk’ isn’t known
> signals_asm.c:241: warning: unused variable ‘stk’
> make: *** [signals_asm.o] Error 1

Compiling prior releases, I advise using setenv  
MACOSX_DEPLOYMENT_TARGET 10.4.

For top-of-tree, see http://caml.inria.fr/mantis/view.php?id=4439

I'd appreciate if someone could test the change on x64.

— Gordon