English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Using OCaml in a kernel
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-12-14 (01:43)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: Re: [Caml-list] Using OCaml in a kernel
> These symbols are defined at link time by the ocamlopt compiler.
> You can get the assembler code defining them by using the -dstartup
> option of ocamlopt while linking; it will show up in a
> /tmp/camlstartup????.s file.
> Note of course that some of these definitions are specific for each
> program.

Thanks for that =) We're getting so close ;-)

Three new undefined symbols left:

: undefined reference to `caml_compare'
: undefined reference to `caml_greaterequal'
: undefined reference to `caml_lessequal'

these are from pervasives.o, string.o, and list.o in libasmrun.a. If
can get some assembler niceties or whatever for those, then we should
hopefully be set for next phase of linker hell ;-)


Jonathan Roewen