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: 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

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

Jacques> ocamlmktop graphics.cma -o

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:  FAQ:
To unsubscribe, mail  Archives: