public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problems compiling for Hitachi SH family
@ 2002-12-08 22:09 J.C.Wren
  0 siblings, 0 replies; only message in thread
From: J.C.Wren @ 2002-12-08 22:09 UTC (permalink / raw)
  To: gcc-help

	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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-09  6:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-08 22:09 Problems compiling for Hitachi SH family J.C.Wren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).