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.7 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr 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 441C2BC37 for ; Sat, 18 Jul 2009 18:36:14 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAFAJOWYUrRVd67c2dsb2JhbACZGD8BDAoLBxMDomWPdwEDAgSECAWBQIZB X-IronPort-AV: E=Sophos;i="4.43,227,1246831200"; d="scan'208";a="29995756" Received: from mail-pz0-f187.google.com ([209.85.222.187]) by mail2-smtp-roc.national.inria.fr with ESMTP; 18 Jul 2009 18:36:13 +0200 Received: by pzk17 with SMTP id 17so1161947pzk.1 for ; Sat, 18 Jul 2009 09:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=6eEJSMBBPfpCFY21lpFdqfDF9WIAG57vzJIew3su14g=; b=oNjP2I8NOfW1MRM+ef+TdhtceBeew5eUO68WPFFmU7YppFHTkPsiLX7XscMX7GpUMw CiW+jFtOENIEGUIkmcMFv7ACWGdDF3059SDxYT5HDeXyGzzIOrYXAntLoHlWbT2PjPDI JyCmC+YmAi5iu7cb/nNzltNqwfdztgmNm9l2o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=jCruxWvMELBV094kcnNEzaArG9RThiF3cNTPdUtoaRG9Z5AOnkmmGsFM/VxZAIC+3M 8tiAjklp8UllxFiLFk/LMEW3MNa3NzcRDjImWxslKbG2Ux4n80OZzBEHd8WMU170pU4L axuSFcAFY63dticPTq8BRu1ECE5tM2FdcHAZE= MIME-Version: 1.0 Sender: jake.donham@gmail.com Received: by 10.142.84.3 with SMTP id h3mr744354wfb.120.1247934972131; Sat, 18 Jul 2009 09:36:12 -0700 (PDT) In-Reply-To: <1247872689.4422.135.camel@serge2> References: <1247872689.4422.135.camel@serge2> From: Jake Donham Date: Sat, 18 Jul 2009 09:35:52 -0700 X-Google-Sender-Auth: da40cbf7e055a159 Message-ID: Subject: Re: [Caml-list] Ocamlfind with camlp4r. To: Serge Leblanc Cc: caml-list@yquem.inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; ocamlfind:01 camlp:01 ocamlfind:01 ocamlc:01 -package:01 camlp:01 -linkpkg:01 -verbose:01 ocamlc:01 parsers:01 syntax:01 2009:98 wrote:01 caml-list:01 breaks:02 On Fri, Jul 17, 2009 at 4:18 PM, Serge Leblanc wro= te: > ocamlfind ocamlc -o test -package "camlp4" -linkpkg=A0 -syntax "camlp4r" = ./test.ml It's useful to add the -verbose option (after ocamlc) to see what options are passed to camlp4. In this case it's getting the -rp option, which is apparently (http://brion.inria.fr/gallium/index.php/Using_Camlp4) the extension for writing parsers in the revised syntax. Not sure why that breaks your program, or why Ocamlfind includes it with -syntax camlp4r. Jake