English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] custom linking not working
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-07-01 (23:24)
From: Ian Zimmerman <itz@s...>
Subject: Re: [Caml-list] custom linking not working

itz> What am I doing wrong here???
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