Browse thread
[Caml-list] a hard road to a new toplevel
-
Alexander V. Voinov
-
Xavier Leroy
- Alexander V. Voinov
-
Xavier Leroy
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Alexander V. Voinov <avv@q...> |
| Subject: | Re: [Caml-list] a hard road to a new toplevel |
Hi Xavier, Xavier Leroy wrote: > Library files (.cma files) provide an answer to this issue: *if* the > authors of the library did a good job, they built a .cma file that > groups all .cmo files for their library, in the right order. Then, > the final user simply links with the .cma file, and the OCaml linker > picks only the relevant .cmo files from the .cma. I see, this indicates what *I* did wrong: I'd better take a closer look at the available .cma files. With this it boiled down to: ocamlmktop extlib.cma unix.cma unix2.cma -o unix2top > Not true: -cclib -lunix2_c will pass a "-lunix2_c" option to gcc and ld. For some reason it didn't work for me with the stock ocaml-3.04 + cvs cdk, but I rolled back to cdk-3.02. Thank you! Alexander ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners