[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2007-03-13 (13:46) |
From: | Xavier Leroy <Xavier.Leroy@i...> |
Subject: | Re: [Caml-list] ocamlc problem on Mac OS X |
> 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