Version française
Home     About     Download     Resources     Contact us    
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> 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