From: Marco Maggesi <maggesi@math.unice.fr>
To: caml-list@inria.fr
Subject: [Caml-list] Re: installing caml-light
Date: Mon, 21 Jun 2004 15:53:09 +0000 (UTC) [thread overview]
Message-ID: <slrncde134.acb.maggesi@sputnik.math.unice.fr> (raw)
In-Reply-To: <200406190852.03332.michel.quercia@prepas.org>
On 2004-06-19, Michel Quercia <michel.quercia@prepas.org> wrote:
>
> There is a micmac in the src/runtime/config.h file. Comment out (or fix) the
> definition of bcopy :
>
> ---------------------------------------------------------------------------------
> #ifdef HAS_MEMMOVE
> #define bcopy(src,dst,len) memmove((dst), (src), (len))
> #else
> #ifdef HAS_BCOPY
> /* Nothing to do */
> #else
> #ifdef HAS_MEMCPY
> #define bcopy(src,dst,len) memcpy((dst), (src), (len))
> #else
> #define bcopy(src,dst,len) memmov((dst), (src), (len))
> #define USING_MEMMOV
> #endif
> #endif
> #endif
> ---------------------------------------------------------------------------------
>
> On Linux bcopy is already defined and the redefinition above triggers this
> (strange) error when HAS_MEMMOVE is set.
>
> You will encounter another problem later when compiling libunix related to
> errno which is a macro and no longer an external variable. The fix for this
> is to remove all declarations "extern int errno" in libunix/*.c files and add
> "#include <errno.h>" when not already present.
Thanks to everyone who replied to my message.
I was able to compile caml-light and use HOL-light following the above
suggestions.
Regarding HOL-light: I found an OCaml version of HOL-light
http://www.math.pitt.edu/~thales/flyspeck/hol_light.tar.gz
from the page of the Flyspeck Project:
http://www.math.pitt.edu/~thales/flyspeck/index.html
-- Marco
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
prev parent reply other threads:[~2004-06-21 15:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-18 16:44 [Caml-list] " Marco Maggesi
2004-06-18 17:54 ` David MENTRE
2004-06-19 5:59 ` William Lovas
2004-06-19 6:52 ` Michel Quercia
2004-06-21 15:53 ` Marco Maggesi [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=slrncde134.acb.maggesi@sputnik.math.unice.fr \
--to=maggesi@math.unice.fr \
--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