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=2.8 required=5.0 tests=DNS_FROM_RFC_POST,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 46FB0BBAF for ; Sat, 9 May 2009 19:52:56 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlMCABdgBUrRVduwkWdsb2JhbACWTz8BAQEBCQkMBw+lfYERj10BAwEDg3sF X-IronPort-AV: E=Sophos;i="4.40,321,1238968800"; d="scan'208";a="27450991" Received: from mail-ew0-f176.google.com ([209.85.219.176]) by mail3-smtp-sop.national.inria.fr with ESMTP; 09 May 2009 19:52:55 +0200 Received: by ewy24 with SMTP id 24so2932540ewy.27 for ; Sat, 09 May 2009 10:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:cc:subject:from :to:in-reply-to:references:date:message-id:user-agent; bh=2EpXI/JiqEwleoqUlfoxf3k98EzYZ76ljdtgIpz7oRQ=; b=WxqL78G9wGfc4ufPgpqZOY+DLn08BejkmyMYPKevzF3p2UT+yAv0DFZXbHPk8oPZij 3Qg/pUaUd2dd0xi14mPCzEuc3b9mysDFTpbkj1RKIHaRRhRS86AFlykRs9Ac7NpxsiP7 O7eqZmLvUfsHQP5N2JIzbVv1CbCASzpl8GFQ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:cc:subject:from:to:in-reply-to:references:date :message-id:user-agent; b=mA4cPwePu8E9YKO2x/mNI4hSnf8XGASNSmoy3ms+4F/cUQrtP2RTVMmTHn9XcHLORG vrjBXVDdJTFlsnS88R1rJSJPuifNy3RQG63fXKbIXYy+vnjy/4rkhwNiRTIaESxYSu4E Q9SqjJQn0wfU9+ZW9TMfnUWr/y2+ceP75/Kuk= Received: by 10.216.9.66 with SMTP id 44mr2439072wes.73.1241891575191; Sat, 09 May 2009 10:52:55 -0700 (PDT) Received: from localhost (lns-bzn-26-82-254-94-243.adsl.proxad.net [82.254.94.243]) by mx.google.com with ESMTPS id 5sm4250691eyf.28.2009.05.09.10.52.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 09 May 2009 10:52:54 -0700 (PDT) Content-Type: text/plain; charset=UTF-8 Cc: OCaml List Subject: Re: [Caml-list] ocamlbuild plugin linking phase From: Nicolas Pouillard To: Daniel Bünzli In-reply-to: References: Date: Sat, 09 May 2009 19:51:26 +0200 Message-Id: <1241891367-sup-6949@ausone.local> User-Agent: Sup/git X-Spam: no; 0.00; -ocamlc:01 'ocamlc:01 ocamlopt:01 2009:98 caml-list:01 linking:02 linking:02 workaround:03 daniel:04 fri:05 i'd:06 0200:07 nicolas:08 nicolas:08 think:13 Excerpts from Daniel Bünzli's message of Fri May 08 15:27:40 +0200 2009: > Is there a way to add options to the plugin linking phase (I'd like to > link my plugin with Str) ? There is no support for this in ocamlbuild. However, I think you can workaround this issue by providing -ocamlc 'ocamlc str.cma' (same for ocamlopt). -- Nicolas Pouillard