One question about gcc fix_includes

Andrew Haley aph@redhat.com
Tue Dec 1 09:34:00 GMT 2009


He Yunlong-B20256 wrote:

> 	We are using one cross-compiler to compile native gcc, in out
> test, we found that gcc will created "fixed includes" from host glibc
> header files, I think they should come from the header files inside of
> the cross-compiler, can anyone confirm that?

That doesn't sound right.  gcc is supposed to fixinclude the headers
from the C library for the target.  It's possible you failed to
provide them.

Andrew.



More information about the Gcc-help mailing list