caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Recursive dependency issues
@ 2014-11-19 16:50 Kenneth Adam Miller
  2014-11-19 17:00 ` David Allsopp
  0 siblings, 1 reply; 6+ messages in thread
From: Kenneth Adam Miller @ 2014-11-19 16:50 UTC (permalink / raw)
  To: caml users

[-- Attachment #1: Type: text/plain, Size: 628 bytes --]

I have a library that I'm building against. I only consume an interface
from 2 specific directories; there are no other usages throughout my code.
I would like to be able to link against the library, and have the compiler
admit my code so long as it uses the interfaces of the other libraries
correctly. Instead, I'm having to recursively specify all the dependencies
of the library I consume!

I specify the location of my library with -ccopt -L location/to/it and then
afterward, have the cma or the cmxa before I specify my source that is
being compiled.

Should I statically link? What do I do to avoid the dependency hell?

[-- Attachment #2: Type: text/html, Size: 710 bytes --]

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

end of thread, other threads:[~2014-12-02 21:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-19 16:50 [Caml-list] Recursive dependency issues Kenneth Adam Miller
2014-11-19 17:00 ` David Allsopp
2014-11-19 17:15   ` Kenneth Adam Miller
2014-11-19 21:08     ` John Whitington
2014-11-19 21:20       ` Kenneth Adam Miller
2014-12-02 21:02         ` Gerd Stolpmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).