To build a cross-compiler from
http://openzaurus.org/official/toolchain/c...s-3.3.2.tar.bz2 :
I did :
1) install cross-3.3.2.tar.bz2 (/opt/..)
2) mkdir /usr/local/arm/3.3.2
3) tar jxf gcc-3.3.2.tar.bz2 -C /tmp
4) mkdir /tmp/buildgcc ; cd /tmp/buildgcc ; export PATH=$PATH:/opt/cross/bin
5)
../gcc-3.3.2/configure --disable-shared --enable-languages=\'c,c++,f77\' --target=arm-linux --prefix=\'/usr/local/arm/3.3.2\' --with-headers=\'/opt/cross/arm-linux/sys-include\' --with-libs=\'/opt/cross/arm-linux/lib\'
BUT the following files are not found :
../../gcc-3.3.2/gcc/tsystem.h:72:19: stdio.h: No such file or directory
../../gcc-3.3.2/gcc/tsystem.h:75:23: sys/types.h: No such file or directory
../../gcc-3.3.2/gcc/tsystem.h:78:19: errno.h: No such file or directory
../../gcc-3.3.2/gcc/tsystem.h:85:20: string.h: No such file or directory
../../gcc-3.3.2/gcc/tsystem.h:89:20: stdlib.h: No such file or directory
../../gcc-3.3.2/gcc/tsystem.h:90:20: unistd.h: No such file or directory
../../gcc-3.3.2/gcc/tsystem.h:96:18: time.h: No such file or directory
AND
../../gcc-3.3.2/gcc/crtstuff.c: In function `__do_global_dtors_aux\':
../../gcc-3.3.2/gcc/crtstuff.c:280: warning: passing arg 1 of `__deregister_frame_info\' discards qualifiers from pointer target type
../../gcc-3.3.2/gcc/crtstuff.c: In function `frame_dummy\':
../../gcc-3.3.2/gcc/crtstuff.c:316: warning: passing arg 1 of `__register_frame_info\' discards qualifiers from pointer target type
make[1]: *** [crtbegin.o] Erreur 1
any idea
