Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2004-12-12 (08:24)
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 
> Here is a small testcase:
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.