caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Ian Zimmerman <itz@speakeasy.org>
To: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] custom linking not working
Date: 01 Jul 2001 16:24:41 -0700	[thread overview]
Message-ID: <86ofr4b5c6.fsf@itz.dsl.speakeasy.net> (raw)
In-Reply-To: Jacques Garrigue's message of "Mon, 02 Jul 2001 08:19:29 +0900"


itz> What am I doing wrong here???
itz> 
itz> itz:~# ocamlc -linkall -custom toplevellib.cma
itz> /usr/lib/ocaml/libgraphics.a \ topmain.cmo -o ocaml.graphics

Jacques> You shouldn't use libgraphics.a, but graphics.cma.  The right
Jacques> invocation is much simpler:

Jacques> ocamlmktop graphics.cma -o ocaml.graphics

Well, I know that would work, of course :-)

But what I was trying to do was precisely to avoid linking the
bytecode at build time.  Is that impossible?

-- 
Ian Zimmerman, Oakland, California, U.S.A.
EngSoc adopts market economy: cheap is wasteful, efficient is expensive.
-------------------
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:[~2001-07-01 23:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-01 21:02 Ian Zimmerman
2001-07-01 23:19 ` Jacques Garrigue
2001-07-01 23:24   ` Ian Zimmerman [this message]
2001-07-02  7:45 ` Xavier Leroy

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=86ofr4b5c6.fsf@itz.dsl.speakeasy.net \
    --to=itz@speakeasy.org \
    --cc=caml-list@inria.fr \
    --cc=garrigue@kurims.kyoto-u.ac.jp \
    /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).