This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Build problem on AIX 5.1 in libiberty, uint64_t definition


>>>>> Geert Bosch writes:

Geert> On AIX 5.1, the GCC build fails as follows:
Geert> << gcc -c -DHAVE_CONFIG_H -g -O2 -I. \
Geert> -I/nile.g/bosch/gnu/gcc/libiberty/../include  -W -Wall -Wtraditional \
Geert> -pedantic /nile.g/bosch/gnu/gcc/libiberty/make-temp-file.c
Geert> In file included from /usr/include/sys/cred.h:36,
Geert> from /usr/.../gcc-lib/powerpc-ibm-aix4.3.2.0/2.8.1/include/sys/file.h:24,
Geert> In other words, a 32-bit compiler should define _LONG_LONG to indicate
Geert> support of this type. I'd like to fix this problem in the proper way,
Geert> but I don't know What would be the proper way of having configure do this?

Geert> Thanks in advance for any insight.

	Based on the verbose output, you appear to be using gcc-2.8.1
configured for AIX 4.3.2.  gcc-2.95 and later defined _LONG_LONG.  gcc-3.0
support AIX 5.1.  The problem has been fixed for a while.

	If the only problem is _LONG_LONG, you probably can tweak the
gcc-2.8.1 specs file to define _LONG_LONG and make progress.

David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]