On Fri, 2008-02-29 at 23:02 +0100, Ralf Corsepius wrote:
On Fri, 2008-02-29 at 16:50 -0500, Tom "spot" Callaway
wrote:
> On Fri, 2008-02-29 at 14:48 -0700, Orion Poplawski wrote:
> > It might me useful to have a %bits macro automatically set to 32 or 64
> > as appropriate. Does this seem useful or is there a better way?
>
> I'm not aware of a better way, this would be quite useful IMHO.
A better way would be to rewrite any code requiring such tricks to not
require them.
In modern C/C++ there hardly is any need for such band-aids (cf.
stdint.h, inttypes.h, limits.h)
But this would be handy if we can use it during the build.
We could do little tricks like:
Requires: foo.%bits
Provides: foo.%bits
and it would let us get rid of multilib file-requires like:
/usr/lib[64]/libgcj.so.9
-sv