Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* How to add a "non-standard" static c library to ocaml project
@ 2009-12-29 15:55 lin hong
  2009-12-29 16:10 ` [Caml-list] " Mark Shinwell
  0 siblings, 1 reply; 2+ messages in thread
From: lin hong @ 2009-12-29 15:55 UTC (permalink / raw)
  To: caml-list



Hey,

I'm struggling with this for few days.

We have a static C library, instead of "libsomename.a", it's "somename.a",
so we could not link it in the usually way like "-lsomename".
In myocamlbuild.ml, I did try to add it's head files dir into cflags, and
"/somelib/dir/somename.a" to clibs. This works for Mac, however, in Linux,
it won't pass the linking process.

Any idea is appreciated ~

Thank you.
Lin








^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-29 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29 15:55 How to add a "non-standard" static c library to ocaml project lin hong
2009-12-29 16:10 ` [Caml-list] " Mark Shinwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox