Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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

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

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

The right invocation is much simpler:

    ocamlmktop graphics.cma -o

Jacques Garrigue
Bug reports:  FAQ:
To unsubscribe, mail  Archives: