Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] native compilation on NetBSD/sparc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] native compilation on NetBSD/sparc
> Appears to be broken:
> 
> clarity% ocamlopt unix.cmxa str.cmxa index-mail.ml -o index-mail
> /tmp/camlstartupd76812.o: In function `L149':
> /tmp/camlstartupd76812.o(.text+0x10): undefined reference to `_caml_globals_inited'
> 
> The same program compiles fine on NetBSD/i386. ocamlopt is also unable
> to build ocamlopt.opt.

Yes, the initial port of ocamlopt to NetBSD/Sparc was done at a time
where the latter used a.out asm conventions.  Since then, NetBSD/Sparc
switched to ELF conventions.  A user provided me with a patch, which
is applied in OCaml 3.07 beta1 and will be in 3.07 as well.  So, if
you wish to give 3.07 beta1 a test...

- Xavier Leroy

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners