From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 512C3BBAF for ; Wed, 3 Feb 2010 10:04:54 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsBAM/KaEtKfVI2mWdsb2JhbACDM5AAh1E9AQEBAQEICwoHE6tlLQqBPoVViG0BAQMFgSiCPloEixo X-IronPort-AV: E=Sophos;i="4.49,397,1262559600"; d="scan'208";a="42842405" Received: from mail-ww0-f54.google.com ([74.125.82.54]) by mail2-smtp-roc.national.inria.fr with ESMTP; 03 Feb 2010 10:04:54 +0100 Received: by wwj40 with SMTP id 40so103376wwj.27 for ; Wed, 03 Feb 2010 01:04:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=KlVJUOMN2bFqwghVgab7qdyagJmEbWuoyo6XYRqbbaU=; b=GcMvTbjt25CZjkfI3/0DDm0Uih0JYa5z8XJ64WKOOAyYq2Z5RaT/hMxoOYkOmPRNAn HF54kGHDKh4sFkFX3mng1c1VOceDQCuTDdb9wiytOKOwKdRsUzDFlq1dCUq+hi2Tlh1I STXM8b+DxvsTGJbgd7ORUTYH7IOAu9xrWrEfc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=m1qPnoNdNtS/sBEAa/ODeLDJGvPfhlcmW2jI9NOrv7Rx8LKblAIPq7J75kus4LkWbp hN9f/DJT7fo+ScTZMRjHduhPvaHr8BbV03zeMVPiYfAaIBefGfnDIXELDy7zVQicHPXh Cwf/1czYQYsZI4GlvPrZ810hw722EAGef6nws= Received: by 10.216.86.133 with SMTP id w5mr526932wee.177.1265187893464; Wed, 03 Feb 2010 01:04:53 -0800 (PST) Received: from ?172.17.0.15? (papillon.metalscan.fr [212.73.210.234]) by mx.google.com with ESMTPS id p37sm16116974gvf.23.2010.02.03.01.04.52 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Feb 2010 01:04:52 -0800 (PST) Message-ID: <4B693C33.2080702@gmail.com> Date: Wed, 03 Feb 2010 10:04:51 +0100 From: Matthieu Dubuget Reply-To: matthieu.dubuget@gmail.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8pre) Gecko/20100131 Lightning/1.0b1 Shredder/3.0.2pre MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] ocamlbuild & linker options References: <1265187726.4159.7.camel@john.ispsystem.net> In-Reply-To: <1265187726.4159.7.camel@john.ispsystem.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; matthieu:01 dubuget:01 matthieu:01 dubuget:01 gcc:01 -cclib:01 -cclib:01 caml-list:01 caml-list:01 inria:06 linker:07 linker:07 path:07 path:07 john:08 -------- Original Message -------- Subject: [Caml-list] ocamlbuild & linker options From: John Lepikhin To: caml-list@inria.fr Date: 03/02/2010 10:02 > Hello, > > Is there a way to pass option "-R /some/path" to GCC linker from > ocamlbuild? I tried "ocamlbuild -lflags -cclib,-R,/some/path", but > without success. try: ocamlbuild -lflags -cclib,-R,-cclib,/some/path Hoping this will help Salutations