Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Automake support for OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Tom Murray <yozhik@c...>
Subject: Re: [Caml-list] Automake support for OCaml
> You plan to use ocamlfind only at install time, right? Why not
> supporting it also at compile time? I'm thinking about something like:

I hadn't fully thought about it, but you're right that I should use it 
at compile and link time, tool.


> CAML_PACKAGES = unix pcre
>
> Surely you can do the same using yours CAML_LDADD in conjunction with
> "ocamlfind query", but it will be harder to use and less intuitive.

_PACKAGES sounds good. I'll add it on a per-makefile and per-target 
basis.


> It shouldn't be a major change, should it?

No, and you're making me think I should just tackle the install stuff, 
too and get it over with. I do want to make things work without 
ocamlfind, too, though.


> Thanks for your work
> from an ocaml user that
> has fought a lot with
> automake in the past :-(

Yes, so many times I want to abandon the autotools for their messiness, 
but they always turn out to be _so_ convenient. I have yet to see a 
make replacement that is as flexible.

Cheers,

tm

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