This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: shs.cc won't build on Solaris 2.5/sparc
- From: Anthony Green <green at redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: 24 Feb 2002 08:37:35 -0800
- Subject: Re: shs.cc won't build on Solaris 2.5/sparc
- References: <ork7t3c7wn.fsf@free.redhat.lsd.ic.unicamp.br>
On Sun, 2002-02-24 at 05:43, Alexandre Oliva wrote:
> uint32_t and uint8_t are only available on Solaris 2.5 when pthread.h
> is included (!!!). I couldn't find any header in libjava that would
> make sure these types were available, so I just arranged for shs.cc to
> include jvm.h, like natSimpleSHSStream.cc does, which gets around the
> problem. Is this ok to install?
We have a similar problem with newlib targets. I think we decided to
use mode attributes instead of uint32_t and the like. I was going to
submit a patch for that today.
AG