From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 1022BBC37 for ; Sat, 28 Nov 2009 18:36:59 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtE/ANftEEtQW+UMgWdsb2JhbACSLIllAQEWJLZUhDEEhTw X-IronPort-AV: E=Sophos;i="4.47,306,1257116400"; d="scan'208";a="41005368" Received: from lo.gmane.org ([80.91.229.12]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/AES256-SHA; 28 Nov 2009 18:36:58 +0100 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NERE8-0001XI-Th for caml-list@inria.fr; Sat, 28 Nov 2009 18:36:56 +0100 Received: from ks300734.kimsufi.com ([91.121.65.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Nov 2009 18:36:56 +0100 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Nov 2009 18:36:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: Simple ocamlbuild example for C stubs? Date: Sat, 28 Nov 2009 17:36:35 +0000 (UTC) Message-ID: References: <4B114C99.9000501@citycable.ch> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/pre1.0.0-11 (Linux) Sender: news X-Spam: no; 0.00; le-gall:01 stubs:01 guillaume:01 guillaume:01 stubs:01 non-standard:01 wrote:01 cma:01 linking:02 -ccopt:03 layout:05 probably:07 i'm:09 example:10 build:13 On 28-11-2009, Guillaume Yziquel wrote: > Hello. > > I'm trying to build a .cma with C stubs with ocamlbuild. Linking and > includes are supposed to be set to non-standard directories. > You probably need to add some 'A"-ccopt"; A"your-option"' to the good tag. Can you give more details/actual layout of your myocamlbuild.ml ? Regards, Sylvain Le Gall