From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA00141; Thu, 18 Apr 2002 22:51:25 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA00128 for ; Thu, 18 Apr 2002 22:51:24 +0200 (MET DST) Received: from cpimssmtpu10.email.msn.com (cpimssmtpu10.email.msn.com [207.46.181.85]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g3IKpML13080 for ; Thu, 18 Apr 2002 22:51:23 +0200 (MET DST) Received: from tjakobl2 ([131.107.65.127]) by cpimssmtpu10.email.msn.com with Microsoft SMTPSVC(5.0.2195.4617); Thu, 18 Apr 2002 13:51:20 -0700 Message-ID: <003501c1e71a$b5191390$5ba4389d@redmond.corp.microsoft.com> From: "Jakob Lichtenberg" To: Subject: [Caml-list] camlidl - object filename collides Date: Thu, 18 Apr 2002 13:50:43 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 18 Apr 2002 20:51:20.0810 (UTC) FILETIME=[CB3E2CA0:01C1E71A] Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk (Sorry for previous post with confusing subject please ignore - here we go again with proper subject but equivalent contents) I have an idl file foo.idl that is used to produce foo.{h,c.ml.mli}. However, when I compile foo.ml using the native code compiler I get a foo.obj file and when I compile foo.c I also get foo.obj. I of course need both files during the linking phase so 1) either I have missed a detail or 2) I need to do a name changing stunt?!? If the name changing stunt is the prefered way to go: How should I do it? (I can for example rename the foo.c file before compilation and it seems to work.) Thanks, - Jakob Lichtenberg ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners