This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Compiling for Xtensa
- From: "Praveen Raghavan" <praveen at notpraveen dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 5 Jun 2007 11:40:22 +0200
- Subject: Compiling for Xtensa
- Reply-to: praveen at notpraveen dot com
Hi,
I am using gcc checkout 4.3.0 (20070410).
I would like to compile for the xtensa processor to start with.
Following is my configure:
../configure --disable-bootstrap --enable-languages=c
--target=xtensa-linux --disable-threads
make -j4
uname -a = "Linux pc3394 2.6.20-16-generic #2 SMP Wed May 23 01:46:23
UTC 2007 i686 GNU/Linux"
I am not sure if I am using the correct configure arguments?
This crashes during make with the error:
echo '../../gcc/tree.h' >> tmp-gi.list
echo '../../gcc/function.h' >> tmp-gi.list
echo '../../gcc/libfuncs.h' >> tmp-gi.list
In file included from ../../gcc/tree-stdarg.c:25gcc -g -O2 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -I. -I.
-I../../gcc -I../../gcc/. -I../../gcc/../include
-I../../gcc/../libcpp/include -I../../gcc/../libdecnumber
-I../../gcc/../libdecnumber/dpd -I../libdecnumber \
-DBASEVER="\"4.3.0\"" -DDATESTAMP="\" 20070410\"" \
-DDEVPHASE="\" (experimental)\"" -c ../../gcc/version.c -o version.o
:
./tm.h:7:22: error: options.h: No such file or directory
./tm.h:17:29: error: insn-constants.h: No such file or directory
./tm.h:18:25: error: insn-flags.h: No such file or directory
In file included from ../../gcc/tree.h:26,
from ../../gcc/tree-stdarg.c:26:
../../gcc/machmode.h:26:24: error: insn-modes.h: No such file or directory
Any clues? When I compile for x86 it is fine. It seems to be working.
Thanks and Regards,
Praveen