From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 767C1BC0B for ; Sun, 4 Feb 2007 15:08:56 +0100 (CET) Received: from smtp110.sbc.mail.mud.yahoo.com (smtp110.sbc.mail.mud.yahoo.com [68.142.198.209]) by concorde.inria.fr (8.13.6/8.13.6) with SMTP id l14E8sk1031269 for ; Sun, 4 Feb 2007 15:08:55 +0100 Received: (qmail 33081 invoked from network); 4 Feb 2007 14:08:54 -0000 Received: from unknown (HELO ?192.168.1.100?) (rftp@pacbell.net@69.230.187.64 with plain) by smtp110.sbc.mail.mud.yahoo.com with SMTP; 4 Feb 2007 14:08:53 -0000 X-YMail-OSG: h0wMSOYVM1msG4Ni0ZaEx6nHMSooAik_wtlPHSc5DHXtwEn8.GTZ0EywVBTlSayMZNZcgehUhAkBqKUO0Ioh8YbcJGFY0KD.MIBT.4e8G3SaT6ZZ3uAcNV7enmV6ljfrTk705kR4csjXptI- Message-ID: <45C5E8ED.4010409@rftp.com> Date: Sun, 04 Feb 2007 06:08:45 -0800 From: Robert Roessler User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070201 Mnenhy/0.7.4.0 SeaMonkey/1.5a MIME-Version: 1.0 To: Caml-list Subject: Re: [Caml-list] Undefined symbols error (Was: ocamlc vs ocamlc.opt?) References: <45C45229.5030208@rftp.com> In-Reply-To: <45C45229.5030208@rftp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 45C5E8F6.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamlc:01 ocamlc:01 libcamlrun:01 lib:01 libasmrun:01 ocamlrun:01 lib:01 makefile:01 ocamlrun:01 libcamlrun:01 libasmrun:01 wrote:01 caml-list:01 undefined:01 otoh:02 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