This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: shs.cc won't build on Solaris 2.5/sparc


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]