[csw-maintainers] RFC: idea to unify 32/64 bit headers

Maciej (Matchek) Blizinski maciej at opencsw.org
Wed Sep 7 17:29:46 CEST 2011


No dia 23 de Agosto de 2010 20:49, Dagobert Michelsen
<dam at opencsw.org> escreveu:
> If you do
>  diff -D __amd64 curlbuild-32.h curlbuild-64.h
> It will generate an include file where the differences only in the second
> file will be shielded by C preprocessor ifdefs with the string after the -D.
> I like this that much that I am really thinking of making this fully
> automatic: On merge GAR currently just copies over the default (32 bit)
> modulation. I could just merge over the diff'ed 32/64 between the
> default 32 bit ISA and 64 bit ISA easily making these special things
> obsolete.
>
> Thoughts?

I'm definitely for it.  Our libgmp build can serve as a testbed.  I'd
be also willing to write some code to facilitate this.  How would you
envision the implementation, Dago?

Maciej


More information about the maintainers mailing list