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] |
On 2/2/06, Sanjeev Rao <sr_sanjeev@yahoo.com> wrote: > Hi Dan and all, > I could build the cross compiler for powerpc-linux. after adding the > glibc-2.3.3-libeh-kludge.patch. Yay! >.. But when I am compiling my program using cross > compiler.....it is giving the following errors. > > > powerpc-linux-gcc -g -c -o aniu_main.o aniu_main.c > aniu_main.c:44:19: stdio.h: No such file or directory It can't find where you have installed the glibc headers. Either switch to using crosstool (which gets this right) or debug your script by asking powerpc-linux-gcc where it's looking for the headers, and comparing that to where they're really installed. Try adding -v to your compile option, e.g. powerpc-linux-gcc -v -c aniu_main.c and look for a section like #include <...> search starts here: /usr/local/include /usr/lib/gcc-lib/i486-linux/3.3.5/include /usr/include End of search list. or use strace. - Dan -- Wine for Windows ISVs: http://kegel.com/wine/isv ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |