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: [Caml-list] custom linking not working

What am I doing wrong here???

itz:~# ocamlc -linkall -custom toplevellib.cma /usr/lib/ocaml/libgraphics.a \
        topmain.cmo -o ocaml.graphics
itz:~# ./ocaml.graphics
        Objective Caml version 3.01

# #load "/usr/lib/ocaml/graphics.cma";;
The external function `gr_set_text_size' is not available
# 
itz:~# ocamlc -v
The Objective Caml compiler, version 3.01
Standard library directory: /usr/lib/ocaml
itz:~# nm /usr/lib/ocaml/libgraphics.a | grep gr_set_text_size 
000000bc T gr_set_text_size


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