AC_HEADER_STDC and cross-compiles?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a configure script that calls AC_HEADER_STDC.

We run cross-compiles.

I'm seeing a case where if our cross-compile toolchain is for a later
version of Linux than the one on the local machine (say, one that uses gcc3
instead of gcc2) that the AC_HEADER_STDC test fails because it tries to run
a test program on the local(!) system, and this fails:

./conftest: /lib/i686/libc.so.6: version `GLIBC_2.3' not found (required by ./c
onftest)

This happens with autoconf-2.59.

Ideas?

H



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux