Cross compile glibc2.7,which limits.h and where should limits.h is ?
takanobu watanabe
rreedd555@gmail.com
Wed Aug 11 11:04:00 GMT 2010
Thanks mike,
I try crosstool-ng.
On 11 August 2010 12:49, Mike Frysinger <vapier@gentoo.org> wrote:
> On Tue, Aug 10, 2010 at 11:33 PM, takanobu watanabe wrote:
>> In file included from ../nptl/descr.h:23,
>> from ../ports/sysdeps/arm/nptl/tls.h:64,
>> from ../include/tls.h:6,
>> from ../include/link.h:45,
>> from ../include/dlfcn.h:3,
>> from ../sysdeps/generic/ldsodefs.h:32,
>> from ../ports/sysdeps/arm/ldsodefs.h:39,
>> from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
>> from <stdin>:2:
>> ../include/limits.h:125: fatal error: limits.h: No such file or directory
>> compilation terminated.
>> make[2]: *** [/usr/arm/src/BUILD/glibc-2.7/rtld-global-offsets.h] Error 1
>> make[2]: Leaving directory `/usr/arm/src/glibc-2.7/csu'
>> make[1]: *** [csu/subdir_lib] Error 2
>> make[1]: Leaving directory `/usr/arm/src/glibc-2.7'
>> make: *** [all] Error 2
>>
>> wonder which limits.h needed and where should lmits.h is.
>> or need more configure param for limits.h location ?
>
> your gcc needs to have a copy of limits.h
>
> really, you should use crosstool-ng and ask questions on the crossgcc
> mailing list. that project takes care of a lot of cross-compiling
> mistakes people make. like the ones you're making right now.
> -mike
>
--
tknv/
More information about the Libc-help
mailing list