From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: Roberto Bagnara <bagnara@cs.unipr.it>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ocamlc problem on Mac OS X
Date: Tue, 13 Mar 2007 14:46:16 +0100 [thread overview]
Message-ID: <45F6AB28.5010802@inria.fr> (raw)
In-Reply-To: <45F63A4A.9090009@cs.unipr.it>
> I have a problem compiling mlgmp
> ocamlc -g -custom gmp.cma test_suite.cmo -o test_suite
> which results into
> gcc -o 'test_suite' -I'/opt/local/lib/ocaml'
> /tmp/camlprimd07b82.c '-L/opt/local/lib/ocaml' '-lmlgmp' '-L.' \
> '-L' '-Wl,-rpath' '-lmpfr' '-lgmp' '-L/opt/local/lib/ocaml/gmp'
> -lcamlrun -lcurses -lpthread
> which seems to suggest there is a bug in ocamlc (at least in the Mac OS
> X version).
I believe the problem comes from the way your configured mlgmp in your
Mac OS X build. If I guess correctly, in Makefile you left GMP_LIBDIR
empty and kept the Linux definition of RLIBFLAGS instead of selecting
the MacOS X one. You will be readily excused, as mlgmp's
configuration is hardly described. But if you have further problems,
may I suggest you take them with the author of mlgmp first?
- Xavier Leroy
next prev parent reply other threads:[~2007-03-13 13:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 5:44 Roberto Bagnara
2007-03-13 13:46 ` Xavier Leroy [this message]
2007-03-13 16:12 ` [Caml-list] " Roberto Bagnara
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=45F6AB28.5010802@inria.fr \
--to=xavier.leroy@inria.fr \
--cc=bagnara@cs.unipr.it \
--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