aix crosscompiler
Kai Ruottu
kai.ruottu@wippies.com
Tue Jan 24 17:02:00 GMT 2012
24.1.2012 13:25, Kai Ruottu kirjoitti:
>> /root/xcomp/build/gcc-trunk-20120123/./gcc/include/stdint.h:72:29:
>
> I would expect your '/root/xcomp/src/sysroot/usr/include' having
> 'stdint.h' and it being used or if it was 'fixed' during the
> 'fixincludes' build phase, the :
>
> /root/xcomp/build/gcc-trunk-20120123/./gcc/include-fixed/stdint.h
>
> being used...
I checked what the Sparc/Solaris2.10 target had resulted when the
original target headers had 'include/stdint.h' :
[root@localhost 4.6.0]# pwd
/usr/local/lib/gcc/sparc-solaris2.10/4.6.0
[root@localhost 4.6.0]# cat include/stdint.h
#ifndef _GCC_WRAP_STDINT_H
#if __STDC_HOSTED__
# include_next <stdint.h>
#else
# include "stdint-gcc.h"
#endif
#define _GCC_WRAP_STDINT_H
#endif
So the Solaris2.10's own 'sdint.h' was used via the '#include_next'.
I would expect quite the same happening in the AIX case, so you
should see what your:
/root/xcomp/build/gcc-trunk-20120123/./gcc/include/stdint.h
says... The "fixing" happening with this kind of "wrapper"
method to #include the proper 'stdint.h'.
More information about the Gcc-help
mailing list