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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 7876C7EFCD; Fri, 3 Oct 2014 11:35:29 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of whitequark@whitequark.org) identity=pra; client-ip=176.58.103.125; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="whitequark@whitequark.org"; x-sender="whitequark@whitequark.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of whitequark@whitequark.org designates 176.58.103.125 as permitted sender) identity=mailfrom; client-ip=176.58.103.125; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="whitequark@whitequark.org"; x-sender="whitequark@whitequark.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail.whitequark.org) identity=helo; client-ip=176.58.103.125; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="whitequark@whitequark.org"; x-sender="postmaster@mail.whitequark.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtWSAEttLlSwOmd9/2dsb2JhbABghmtQhi6tNQEBAQaBQJZ4gyECgSABe4QEAQEEIw8BBUEQBAcYAgImAgIsKwYbiDqoYpVwGIEshGmDfoUEgQ8HgneBVAEEi1WnY4NoOIJ5AQEB X-IPAS-Result: AtWSAEttLlSwOmd9/2dsb2JhbABghmtQhi6tNQEBAQaBQJZ4gyECgSABe4QEAQEEIw8BBUEQBAcYAgImAgIsKwYbiDqoYpVwGIEshGmDfoUEgQ8HgneBVAEEi1WnY4NoOIJ5AQEB X-Spam-Status: Yes X-IronPort-AV: E=Sophos;i="5.04,646,1406584800"; d="scan'208";a="81786116" Received: from fehu.whitequark.org (HELO mail.whitequark.org) ([176.58.103.125]) by mail3-smtp-sop.national.inria.fr with ESMTP; 03 Oct 2014 11:35:28 +0200 Received: by mail.whitequark.org (Postfix, from userid 33) id 4A1C210BD32; Fri, 3 Oct 2014 09:35:26 +0000 (UTC) To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= X-PHP-Originating-Script: 1000:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 03 Oct 2014 13:35:26 +0400 From: Peter Zotov Cc: Ocaml Mailing List , caml-list-request@inria.fr In-Reply-To: References: Message-ID: <191b7d0066a6c8fd24b1f6add1ff18b5@whitequark.org> X-Sender: whitequark@whitequark.org User-Agent: Roundcube Webmail/1.0.1 Subject: Re: [Caml-list] Compile and link a C program On 2014-10-03 13:22, Daniel Bünzli wrote: > Hello, > > Is it possible to use ocamlc as a front-end to compile and link a C > program ? > > (Just want to piggyback on ocaml's configure). You can compile it with ocamlc foo.c, but I think you cannot trick ocamlc into linking it. -- Peter Zotov