Differences in headers between i386 and x86_64

Ralf Corsepius rc040203 at freenet.de
Sat Aug 7 03:40:27 UTC 2004


On Sat, 2004-08-07 at 05:04, Miloslav Trmac wrote:

> In the ideal world it would be possible to just install i386 *-devel
> packages on x86_64 and compile using gcc -m32 or whatever the
> correct command is. This can only work if the devel packages do not
> conflict in their header files.


> Generally the most common reason of differences is including a "config.h"
> file generated by autoconf or something similar; in cases where the config
> values are architecture specific, the following are common among several
> packages:
> - duplicating the functionality of <stdint.h> or <inttypes.h>
>   (definitions of "int64", printf/scanf formats, ...)
> - SIZEOF_type, ALIGNOF_type
> - VA_LIST_IS_ARRAY
> - _FILE_OFFSET_BITS, _LARGEFILE_SOURCE

Such cases are a strong indication for these packages using broken
configure scripts
cf. http://lists.gnu.org/archive/html/autoconf/2004-08/msg00019.html
(http://lists.gnu.org/archive/html/autoconf/2004-08/msg00009.html)

Ralf






More information about the fedora-devel-list mailing list