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
> > 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 ;-)
> 
> They should be in libasmrun.  These particular functions should be
> coming from byterun/compare.c.

Turns out had to specify libasmrun on linker line twice. before and
after linking against ocaml's stdlib, str, and nums libs. Bizarre, but
it works.