GMP installation on Solaris2.7

Richard Dawe rich at phekda.gotadsl.co.uk
Fri Jan 9 22:24:46 CET 2004


Hello.

Kevin Ryde wrote:
> "Zhifeng Li" <z-li1 at northwestern.edu> writes:
> 
>>/usr/include/sys/stat.h:253: error: parse error before "blksize_t"
> 
> 
> This is a moderately common problem, but I forget the actual cause.
> 
> It might be building gcc for solaris 2.6 then trying to run it on 2.7,
> or something like that.  In any case at this point it's pretty much
> unusable.

gcc built for Solaris 2.5.1 will not work properly on Solaris 2.6 and 
2.7, in my experience. That's with gcc 2.7.2.2, but I doubt that later 
versions are any better, since the problems are down to the system headers.

Try getting a gcc from Sun freeware <http://www.sunfreeware.com/>. If 
they don't have the version of gcc you want, download another one and 
then build with the version you want with it.

Bye, Rich =]

-- 
Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]

"You can't evaluate a man by logic alone."
   -- McCoy, "I, Mudd", Star Trek



More information about the gmp-bugs mailing list