Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Cross-compile ocaml for ARM
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sven LUTHER <luther@d...>
Subject: Re: [Caml-list] Cross-compile ocaml for ARM
On Sun, Sep 22, 2002 at 04:31:44PM +0200, Guillaume Valadon wrote:
> hello,
> I am trying to build a native ocaml-3.06 for Linux arm using the
> method explained in
> The 'make world' worked fine but the 'make opt' failed in the asmrun
> directory with:
> signals.c: In function 'init_signals':
> signals.c: 'segv_handler' undeclared (first use in this function)
> [ usual gcc stuff about undeclared identifier ]
> The segv_handler function is located line 478 or 486 but is never 
> declared due to preprocessors tests. Uncommenting the test line 486
> resolved the problem (ok, that's a dirty hack) but 'make opt' failed 
> again with :
> ../../ -c -warn-error A unix.mli
> ../../ line 5
> /path/to/ocaml-3.06/otherlibs/unix/../../ocamlc.opt: cannot execute
> binary file
> How do i resolve these problems ?

I don't really know, but notice that the arm native code compiler builds
fine on debian/arm's autobuilder. You can follow the links found at :

To get to the full build log of ocaml on arm, in order to compare it to
your build log, and see where the problem is.


Sven Luther
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: