This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATH_MAX and testhello.sh


On Tue, Dec 13, 2005 at 01:17:18PM -0800, Ron McCall wrote:
> The limits.h that hello.c actually includes is (found
> via gcc -E):
> /opt/crosstool/gcc-3.4.1-glibc-2.3.3/powerpc-7450-linux-gnu/lib/gcc/powerpc-7450-linux-gnu/3.4.1/include/limits.h
> which doesn't include any other header files.

common bug ... your gcc limits.h should be doing an
'#include_next <limits.h>' at the end of it ...

compare the cross-compiler gcc limits.h with the limits.h from a native
compiler ... iirc, this bug hits when gcc is unable to find the proper
sysroot/headers from the libc
-mike

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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