Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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 ;-)

Regards,

Jonathan Roewen