caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alain Frisch <frisch@clipper.ens.fr>
To: Stefano Zacchiroli <zack@cs.unibo.it>
Cc: Inria Ocaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] -custom switch useless??
Date: Tue, 21 Aug 2001 13:36:25 +0200 (MET DST)	[thread overview]
Message-ID: <Pine.GSO.4.04.10108211329110.25281-100000@clipper.ens.fr> (raw)
In-Reply-To: <20010820145411.A7591@cs.unibo.it>

On Mon, 20 Aug 2001, Stefano Zacchiroli wrote:

>   I'm building an ocaml package from sources and seems to me that
> -custom switch on ocamlc compiler has no effect.

The switch tells the compiler to include a customized version of the
runtime interpreter. Some libraries requires this behaviour; this is the
case for unix.cma, because it comes with a C support library (libunix.a).
These libraries are linked with the -custom switch, and the linker
remembers it when linking your program. So -custom is implicit
in this case.

You can disable the behaviour with the -noautolink switch.
It may be useful if you want to build a custom runtime interpreter
(with unix support for instance) once and for all (-make-runtime),
and use it with -use-runtime for all your programs.


-- 
  Alain  Frisch

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


      reply	other threads:[~2001-08-21 11:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-20 12:54 Stefano Zacchiroli
2001-08-21 11:36 ` Alain Frisch [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=Pine.GSO.4.04.10108211329110.25281-100000@clipper.ens.fr \
    --to=frisch@clipper.ens.fr \
    --cc=caml-list@inria.fr \
    --cc=zack@cs.unibo.it \
    /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).