Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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
roessler@rftp.com
http://www.rftp.com