Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Building large and portable projects
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Brown <caml-list@d...>
Subject: Re: [Caml-list] Building large and portable projects
On Sun, Nov 23, 2003 at 12:25:13PM +0900, Nicolas Cannasse wrote:

> > Older is incorrect, as well.  The program should run cc on the .c
> 
> That's true doing a hashing is nice for C, but ocaml compilation is fast
> enough so maybe the time difference between making the hash and compiling is
> not so big. Another issue is storing the hashing in a temp file, while you

Saying "older" is wrong not because it just compiles too often, but
because it also doesn't compile things it should.  Think of someone
moving files around without changing timestamps, and then putting the
old files back.  Normal make won't recompile them.

It is better to comile when you shouldn't than it is to not compile when
you need to.

And compiling ocaml isn't always fast.  The code I'm working on doesn't
compile the ocaml code any faster than the C code.

Dave

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