Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlopt and linking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Taras <taras.judge@s...>
Subject: Re: [Caml-list] ocamlopt and linking
Taras wrote:

> Hi,
> I'm trying to link an ocamlopt-generated object file into a C program 
> by following instructions on 
> http://caml.inria.fr/ocaml/htmlman/manual032.html
>
> Here is a small testcase: http://glek.net/~taras/os.tar.bz2
>
Neither ocamlc, nor ocamlopt binaries seem to link for me. Am I making a 
mistake somewhere?
In the above testcase,
make MODE=caml attempts to link with ocamlc-generated .o & libcamlrun.a

make MODE=asm uses ocamlopt & libasmrun.a

In above 2 cases I get a different sets of missing symbols.

Thanks,
Taras