This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: shs.cc won't build on Solaris 2.5/sparc
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Anthony Green <green at redhat dot com>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 25 Feb 2002 13:16:56 +1300
- Subject: Re: shs.cc won't build on Solaris 2.5/sparc
- References: <ork7t3c7wn.fsf@free.redhat.lsd.ic.unicamp.br> <1014568658.1826.95.camel@dhcppc2>
Anthony Green wrote:
>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.
>
Why not fix newlib to define these (ISO C99) types?
regards
Bryce.