caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlc vs ocamlc.opt?
@ 2007-01-31 22:16 Robert Roessler
  2007-02-03  0:21 ` [Caml-list] " Aleksey Nogin
       [not found] ` <95513600702010017y2f4ab9eex18b2fa3a52c987e@mail.gmail.com>
  0 siblings, 2 replies; 5+ messages in thread
From: Robert Roessler @ 2007-01-31 22:16 UTC (permalink / raw)
  To: Caml-list

I just ran into a problem where building a bytecode executable failed 
with findlib ("ocamlfind ocamlc ...") but the equivalent non-findlib 
command worked.  Then I saw that I could force the same error message 
in my non-findlib build by just matching findlib's ocamlc.opt, while I 
had used ocamlc.

The command line is:
ocamlc -o bait -I +lablgtk2 -I +lablscintilla -thread threads.cma 
lablgtk.cma gtkInit.cmo scintilla.cma bait.ml

which works fine.  Changing ocamlc to ocamlc.opt yields:
Error on dynamically loaded library: 
/usr/lib/ocaml/stublibs/dlllablscintilla.so: undefined symbol: 
caml_names_of_builtin_cprim

This is on FC6, with a Yum-installed OCaml 3.09.3 package.  Both of 
the versions of the compiler identify themselves as 3.09.3 with the 
same standard library location, and both were built on Dec 2 of 2006.

So should the versions of ocamlc behave the same excepting performance 
issues, or ?

Robert Roessler
roessler@rftp.com
http://www.rftp.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-02-14 10:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-31 22:16 ocamlc vs ocamlc.opt? Robert Roessler
2007-02-03  0:21 ` [Caml-list] " Aleksey Nogin
2007-02-03  8:56   ` Robert Roessler
     [not found] ` <95513600702010017y2f4ab9eex18b2fa3a52c987e@mail.gmail.com>
2007-02-14  0:31   ` Robert Roessler
2007-02-14 10:15     ` Robert Roessler

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).