Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Claudio Sacerdoti Coen <sacerdot@cs.unibo.it>
To: Warp <warplayer@free.fr>
Cc: OCaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Unused .cma and .so
Date: Tue, 16 Apr 2002 09:49:55 +0200	[thread overview]
Message-ID: <20020416094955.D12398@cs.unibo.it> (raw)
In-Reply-To: <017301c1e4a5$f0899610$3900a8c0@warp>; from warplayer@free.fr on Mon, Apr 15, 2002 at 07:49:49PM +0200

> You have to link your binary using the -noautolink ocamlc parameter.
> ( Watch the ocaml manual )

 I already knew that parameter, but it is not what I would like to have.
 Here comes the problem with more informations: when using findlib with
 libraries providing more than one .cma (e.g. lablgtk), I expect
 findlib to add to the linking phase every .cma and ocamlc to not consider
 all the unuseful ones. Since ocamlc still considers the linking options of
 the .cma, I can't no more use findlib in that way and I have to add
 O(2^n) rules to the META file to choose exactly which .cma to add.
 If I use the -noautolink option, instead, it effects every .cma
 (even the ones belonging to other packages) and I have to add many many
 linking options by hand (and so why should I use findlib or something
 similar at all?)

 I hope to have been more clear.

 					Regards,
					 C.S.C.

-- 
----------------------------------------------------------------
Real name: Claudio Sacerdoti Coen
PhD Student in Computer Science at University of Bologna
E-mail: sacerdot@cs.unibo.it
http://caristudenti.cs.unibo.it/~sacerdot
----------------------------------------------------------------
-------------------
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


  reply	other threads:[~2002-04-16  7:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-15 17:21 Claudio Sacerdoti Coen
2002-04-15 17:49 ` Warp
2002-04-16  7:49   ` Claudio Sacerdoti Coen [this message]
2002-04-26  8:16 ` Xavier Leroy
2002-04-26 10:57   ` Claudio Sacerdoti Coen

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=20020416094955.D12398@cs.unibo.it \
    --to=sacerdot@cs.unibo.it \
    --cc=caml-list@inria.fr \
    --cc=warplayer@free.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