This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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: FW: Building GCC crosscompiler for powerpc platform !!


[...]

/usr/local/src/gnu/BUILD/gcc/gcc/xgcc -B/usr/local/src/gnu/BUILD/gcc/gcc/ -B/usr/local/powerpc/powerpc-eabi/bin/ -B/usr/local/powerpc/powerpc-eabi/lib/ -isystem /usr/local/powerpc/powerpc-eabi/include -isystem /usr/local/powerpc/powerpc-eabi/sys-include -c -DHAVE_CONFIG_H -O2 -g -O2 -I. -I/usr/local/src/gnu/gcc-3.4.0/libiberty/../include -W -Wall -Wtraditional -pedantic -fPIC /usr/local/src/gnu/gcc-3.4.0/libiberty/regex.c -o pic/regex.o; \
else true; fi
/usr/local/src/gnu/gcc-3.4.0/libiberty/regex.c:132: warning: conflicting types for built-in function 'malloc'
/usr/local/src/gnu/gcc-3.4.0/libiberty/regex.c:160:25: strings.h: No such file or directory
In file included from /usr/local/src/gnu/gcc-3.4.0/libiberty/../include/xregex.h
:26,
from /usr/local/src/gnu/gcc-3.4.0/libiberty/regex.c:195:
y `/usr/local/src/gnu/BUILD/gcc/powerpc-eabi/libiberty'


[...]
Hello,
It seems to me that the first error you get is

/usr/local/src/gnu/gcc-3.4.0/libiberty/regex.c:160:25: strings.h: No such file or directory
Isn't this file provided by newlib ?
Did you try to add the |--with-sysroot=dir configure option (http://gcc.gnu.org/install/configure.html) ? I'm not sure but it may help.
Please let me know if it is usefull,

regards,

JF
|


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