From: Jonathan Roewen <jonathan.roewen@gmail.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Annoying compiler magic
Date: Sun, 13 Nov 2005 13:27:27 +1300 [thread overview]
Message-ID: <ad8cfe7e0511121627s1422ee3al1d72b5e8aa4019e3@mail.gmail.com> (raw)
In-Reply-To: <ad8cfe7e0511121520p78794272hbd4336be81fa7c6f@mail.gmail.com>
> This is a -custom- environment. The question is, why is the compiler
> adding references to these symbols when my code (stdlib.cma &
> libcamlrun.a) does NOT reference these.
You guys make life fun ;-) (Yes, note the sarcasm). So you define
these external functions INTO the compiler itself... an interesting
design...
Looks like I'll have to figure out how to break up the build system to
build JUST the ocamlc compiler and nothing else; use system tools for
everything else.
Is this to ensure your particular implementation of stdlib is
guaranteed to work? As I noticed an interesting error when trying to
build a custom compiler the naive way:
Error while linking ../../stdlib/stdlib.cma(Pervasives):
The external function `caml_ml_input' is not available
Anyways, I assume you did it like this for a good reason.
Jonathan =)
prev parent reply other threads:[~2005-11-13 0:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-12 22:00 Jonathan Roewen
2005-11-12 22:24 ` Eric Cooper
2005-11-12 23:20 ` Jonathan Roewen
2005-11-13 0:27 ` Jonathan Roewen [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=ad8cfe7e0511121627s1422ee3al1d72b5e8aa4019e3@mail.gmail.com \
--to=jonathan.roewen@gmail.com \
--cc=caml-list@yquem.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