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
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 
> 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.