From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 6E9417EC41 for ; Mon, 22 Oct 2012 10:49:57 +0200 (CEST) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of gabriel.scherer@gmail.com) identity=pra; client-ip=209.85.210.182; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail4-smtp-sop.national.inria.fr: domain of gabriel.scherer@gmail.com designates 209.85.210.182 as permitted sender) identity=mailfrom; client-ip=209.85.210.182; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ia0-f182.google.com) identity=helo; client-ip=209.85.210.182; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="postmaster@mail-ia0-f182.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtgBALcHhVDRVdK2mGdsb2JhbABFrwaRfQgjAQEBAQEICQ0HFCeCIAEBAQQSAiwBGxILAQMMBgULDQ0hIgERAQUBChIZEhCHTwEDDwudFgkDjCiCdoQLChknAwpZiHUBBQyLU4NMgyMDlXGBF41BFimEEw X-IronPort-AV: E=Sophos;i="4.80,628,1344204000"; d="scan'208";a="159888018" Received: from mail-ia0-f182.google.com ([209.85.210.182]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 22 Oct 2012 10:49:56 +0200 Received: by mail-ia0-f182.google.com with SMTP id k10so3398634iag.27 for ; Mon, 22 Oct 2012 01:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=gegSmIQJUCnLEghuXtrvTRFmO69FftFZBCEaqQ6SBs0=; b=qWccnNE/ZMlzLqOCQlsWtYFx+Isavvxm/yx5i9AU/EsLFHr9ZuUu5m7UvVvyd3Ls8V j7Va9ue2YDcM1kOV8T35ORAIkQykKNLjiTTYVkW1WaldZde+IQk8yXyb9Wyui6waOpeJ RmLgy0s9t//eXNyCf4fng5E3W7THmVPuEUI4KuLf5+ydXyy0rUkLKa+KAVWrw6n4ERBr kdgZrG7VeJ9+WTiZEntI6HqK60dzTrCj2vZNvfB2LWfjdB+cJyP3ac6pfPcXmp6L8mud LZ91iIbUIT1id+GvY7yKczrdVvhWY9hriPG5SEk4pAVimEFk8BtY3+TpSTl/2NTwfHkP TbOw== Received: by 10.43.7.132 with SMTP id oo4mr7017802icb.6.1350895795180; Mon, 22 Oct 2012 01:49:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.65.9 with HTTP; Mon, 22 Oct 2012 01:49:14 -0700 (PDT) In-Reply-To: <20121022070357.GA3222@ombreroze.happyleptic.org> References: <20121015122152.GA17466@securactive.lan> <20121022070357.GA3222@ombreroze.happyleptic.org> From: Gabriel Scherer Date: Mon, 22 Oct 2012 10:49:14 +0200 Message-ID: To: rixed@happyleptic.org Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Caml-list] Compiler can't find a stub anymore ocamlbuild's `-documentation` option is useful for these kind of things. $ ocamlbuild -documentation | grep custom flag {. byte, custom, library, link, ocaml .} "-custom" flag {. byte, custom, link, ocaml, program .} "-custom" On Mon, Oct 22, 2012 at 9:03 AM, wrote: > Answering my own question for my old days: > the problem was that parmap library was not compiled with -custom > while it's META file does not set any linkopts. I fixed it using > -custom since I find it easier, but I wonder what's the prefered > way to add these link flags between custom or linkopts? > > BTW, I couldn't find where to add -custom in ocamlbuild. Hopefully > parmap wraps ocamlbuild into Makefile so I could work around it. Any doc > on how to add -custom flag? I tried with -lflag but for some reason the > flag was also added to ocamlopt invocations. > > Anyway, much ado about nothing as usual. > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs