|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-10 08:01:35
On Monday 10 April 2006 15:52, David Abrahams wrote:
> Rene Rivera <grafik.list_at_[hidden]> writes:
> > * Write a HASH builtin:
> >
> > rule HASH ( string : hash-method ? )
> >
> > That of course requires finding free code for at least one good hash
> > function.
>
> There's already a string hashing function built into the core of
> bjam... so if it isn't good enough, I suppose we could just upgrade
> it.
Yes, it's MD5, I believe. Speaking of hashing paths, I doubt it's a good
solution. From user's perspective, long paths are just inconvenient, and not
many users have problems because command length limits. Using hashes is just
as inconvenient as long paths, IMO, because in both cases object files end up
in directories with "funny names". Ideally, we need to create just "debug"
directory for common cases.
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk