From: Sylvain Le Gall <sylvain@le-gall.net>
To: Francois Berenger <berenger@riken.jp>
Cc: caml-list <caml-list@inria.fr>
Subject: [Caml-list] Re: oasis help: forcing the name of generated executables
Date: Thu, 2 May 2013 11:32:37 +0200 [thread overview]
Message-ID: <CAOCAUGPCdWWjzw6HY1KhyJJXUDGF4We24BdTrnomz+T=unCTig@mail.gmail.com> (raw)
In-Reply-To: <5182215A.5050707@riken.jp>
Hi,
From an ocamlbuild point of view, no.
Because you need to differentiate .native from .byte given the
filename (e.g. like Makefile rules). Although, we can implement a tag
"is_native_program":
"foo/bar": is_native_program
This could do the trick, but you need to check how to do it and maybe
propose a patch to ocamlbuild.
From an oasis point of view, it is already done:
There should be a rule that copy the exec to the right name at the end
of the build process. If it is not the case, open a bug and I'll check
the problem. However, you get foo.native and foo (one is a copy of the
other).
Regards
Sylvain
2013/5/2 Francois Berenger <berenger@riken.jp>:
> Hello,
>
> Is there a way to tell oasis to name
> an executable toto instead of toto.native?
>
> I build only native binaries, so there is not
> any toto.byte around.
>
> Thanks a lot,
> F.
>
prev parent reply other threads:[~2013-05-02 9:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-27 14:51 [Caml-list] OCaml mechanize? Paolo Donadeo
2013-04-27 15:58 ` Stéphane Glondu
2013-05-02 8:14 ` Richard W.M. Jones
2013-05-02 8:18 ` [Caml-list] oasis help: forcing the name of generated executables Francois Berenger
2013-05-02 9:32 ` Sylvain Le Gall [this message]
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='CAOCAUGPCdWWjzw6HY1KhyJJXUDGF4We24BdTrnomz+T=unCTig@mail.gmail.com' \
--to=sylvain@le-gall.net \
--cc=berenger@riken.jp \
--cc=caml-list@inria.fr \
/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;
as well as URLs for NNTP newsgroup(s).