This is a continuation of the conversation with Kai Ruottu which was
cc'ed here.
I have downloaded gcc-4.1.1.tar.bz2, extracted it, and used the
following command for configuration:
./configure --with-newlib --disable-libssp --disable-shared
--target=xscale-elf --enable-language=c,c++
It fails while compiling something which looks related to ObjectiveC
(why would it do that when I asked for C and C++?) and here's the output:
/home/jmt/gcc-4.1.1/host-i386-unknown-freebsd6.2/gcc/xgcc
-B/home/jmt/gcc-4.1.1/host-i386-unknown-freebsd6.2/gcc/
-B/usr/local/xscale-elf/bin/ -B/usr/local/xscale-elf/lib/ -isystem
/usr/local/xscale-elf/include -isystem /usr/local/xscale-elf/sys-include
-c -I. -I/home/jmt/gcc-4.1.1/libobjc -O2 -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS -fno-strict-aliasing
-fexceptions -I/home/jmt/gcc-4.1.1/libobjc/objc
-I/home/jmt/gcc-4.1.1/libobjc/../gcc
-I/home/jmt/gcc-4.1.1/libobjc/../gcc/config -I../.././gcc
-I/home/jmt/gcc-4.1.1/libobjc/../include
/home/jmt/gcc-4.1.1/libobjc/archive.c -o archive.o
/home/jmt/gcc-4.1.1/libobjc/archive.c:27:21: error: tconfig.h: No such
file or directory
gmake[2]: *** [archive.lo] Error 1
gmake[2]: Leaving directory `/home/jmt/gcc-4.1.1/xscale-elf/libobjc'
gmake[1]: *** [all-target-libobjc] Error 2
gmake[1]: Leaving directory `/home/jmt/gcc-4.1.1'
gmake: *** [all] Error 2
This is on a FreeBSD 6.2-PRERELEASE system. If more information is
required, please do not hesitate to ask and I will supply it.
Jack.