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:19)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] custom linking not working
From: Ian Zimmerman <itz@speakeasy.org>

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

You shouldn't use libgraphics.a, but graphics.cma.

The right invocation is much simpler:

    ocamlmktop graphics.cma -o ocaml.graphics

Jacques Garrigue
-------------------
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