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
Undefined symbols error (Was: ocamlc vs ocamlc.opt?)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-04 (14:08)
From: Robert Roessler <roessler@r...>
Subject: Re: [Caml-list] Undefined symbols error (Was: ocamlc vs ocamlc.opt?)
Robert Roessler wrote:
> ...
> And libcamlrun.a is sitting right there on the command line - or at 
> least an instance of this library is... OTOH, are you sure you want to 
> build the DLL this way?  I build the static lib with libasmrun, but 
> supply the ocamlrun lib to the DLL build.  Check the lib$(PACKAGE).$(A) 
> and dll$(PACKAGE).$(SO) targets in the Makefile.

Ack.  I am not sure if I intended to go off on a discussion of Windows 
vs Linux builds, but ocamlrun.lib is used on Windows for the DLL, 
while libcamlrun.a is used for the DLL (.so) on Linux.

They both use libasmrun.$(A) for their respective static lib builds.

Robert Roessler