[csw-maintainers] Using an architecture-specific includes in GAR
Maciej Bliziński
maciej at opencsw.org
Sun Aug 7 11:41:59 CEST 2011
2011/8/5 Dagobert Michelsen <dam at opencsw.org>:
> The includes can usually be branched by compile-specific flags for the
> ISA to compile. One notable example for this is curlbuild.h which contains
> isa-specific definitions of different wide types when compiled on 32 and
> 64 bits. Traditionally, this has been done by a rename of isa-specific
> headers and a meta-header with the branch:
> http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/curl/tags/curl-7.20.0%2CREV%3D2010.02.15/Makefile#L72
> http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/curl/tags/curl-7.20.0%2CREV%3D2010.02.15/files/curlbuild.h
Thanks Dago and John for the suggestions. I've improved the
libgmp_dev to include a switch header file, like the one in curl.
Maciej
More information about the maintainers
mailing list