Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2003-11-23 (04:29)
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.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: