caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Pixel <pixel@mandrakesoft.com>
To: caml-list@inria.fr
Subject: [Caml-list] -thread and ocamlc vs ocamlc.opt
Date: 13 Jan 2002 22:39:11 +0100	[thread overview]
Message-ID: <lyvge6vslc.fsf@leia.mandrakesoft.com> (raw)

% ocamlc -thread threads.cma
% ocamlc.opt -thread threads.cma
Error on dynamically loaded library: /usr/lib/ocaml/dllthreads.so: undefined symbol: extern_sp
% ocamlopt -thread threads.cmxa                           
Cannot find file threads.cmxa

Questions:
- in which case are ocamlc and ocamlc.opt not equivalent?

- in which case are xxx and xxx.opt not equivalent? 
At least, it seems camlp4o.opt is pretty useless (one gets "native-code
program cannot do a dynamic load")

I've been trying to reduce the size of the ocaml rpm which is getting quite
huge (27MB), and doing
  for i in /usr/bin/*.opt ; do
    ln -s `basename $i` `echo $i | sed "s/.opt$//"`
  done
helps!

- should threads.cmxa be included somehow/somewhere? The doc says
    ocamlopt -thread other options threads.cmxa other files
  is that wrong?


Thanks!
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


             reply	other threads:[~2002-01-13 21:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-13 21:39 Pixel [this message]
2002-01-16 16:03 ` Xavier Leroy
2002-01-16 16:29   ` Sven
2002-01-16 16:38     ` Patrick M Doane
2002-01-16 16:43     ` Xavier Leroy
2002-01-16 16:46       ` Sven
2002-01-16 16:53   ` Pixel

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=lyvge6vslc.fsf@leia.mandrakesoft.com \
    --to=pixel@mandrakesoft.com \
    --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;
as well as URLs for NNTP newsgroup(s).