This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problems compiling for Hitachi SH family
- From: "J.C.Wren" <jcwren at jcwren dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Mon, 9 Dec 2002 01:09:04 -0500
- Subject: Problems compiling for Hitachi SH family
I pulled the most recent binutils (2.13) and gcc snapshot (20021128), along
with gcc 3.2 stable, and have the same problem. binutils made and installed
OK, and I used the same configure options mentioned next. I configured gcc
with ./configure --target=sh-pc-linux --prefix=/usr/local/superh, did a
make, and when it hits unwind-dw2.c, I get the following errors.
In file included from unwind-dw2.c:26:
unwind-pe.h: In function `size_of_encoded_value':
unwind-pe.h:76: warning: implicit declaration of function `abort'
In file included from gthr-default.h:1,
from gthr.h:98,
from unwind-dw2.c:28:
gthr-posix.h:37:21: pthread.h: No such file or directory
gthr-posix.h:38:20: unistd.h: No such file or directory
In file included from gthr-default.h:1,
from gthr.h:98,
from unwind-dw2.c:28:
gthr-posix.h: At top level:
gthr-posix.h:40: error: parse error before "__gthread_key_t"
<stuff elided>
Is this expecting to use /usr/include/pthread.h, or is this file supposed
to be in ./libstdc++-v3/include/c_compatibility/?
What can I do to correct this?
--John