From: Peter Zotov <whitequark@whitequark.org>
To: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
Cc: Ocaml Mailing List <caml-list@inria.fr>, caml-list-request@inria.fr
Subject: Re: [Caml-list] Compile and link a C program
Date: Fri, 03 Oct 2014 13:35:26 +0400 [thread overview]
Message-ID: <191b7d0066a6c8fd24b1f6add1ff18b5@whitequark.org> (raw)
In-Reply-To: <D5092CC4B404411397B748B9D34D6097@erratique.ch>
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
next prev parent reply other threads:[~2014-10-03 9:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-03 9:22 Daniel Bünzli
2014-10-03 9:35 ` Peter Zotov [this message]
2014-10-03 9:38 ` Daniel Bünzli
2014-10-03 10:00 ` Gerd Stolpmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=191b7d0066a6c8fd24b1f6add1ff18b5@whitequark.org \
--to=whitequark@whitequark.org \
--cc=caml-list-request@inria.fr \
--cc=caml-list@inria.fr \
--cc=daniel.buenzli@erratique.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox