On Jun 8, 11:05 pm, Alexander Dreyer
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> > 3) Next failure is  polybori-0.3.1.p3
> > Michael suggested the change:
>
> > #!bin/sh" -> "#!/usr/bin/env bash"
>
> > but that does NOT work for me. Numerous errors still appear but they
> > are in C++ code and I don't know C++. I hope someone else can fix that
> > one. (I will give access to one of my Suns for anyone that thinks they
> > could do it).
>
> From what I've seen in your previous threads, this is merely a
> configuration problem. The Sun Forte compiler is used instead of gcc (g
> ++). But Forte does not support the C++ standard of 1998 completely.
>
> Best regards,
>   Alexander

I've successfully built, and passed all tests of the original R
sources on my SPARC using

./configure  CC="cc -xc99" CPPFLAGS=-I/opt/csw/include  CFLAGS="-O -
xlibmieee -xtarget=ultra3 -xarch=v8plusa" F77=f95 FFLAGS=-O4 CXX=CC
CXXFLAGS=-O FC=f95  FCFLAGS=$FFLAGS LDFLAGS=-L/opt/csw/lib
SHLIB_CXXLDFLAGS="-G -lCstd"

These are basically the options suggested in the R manual for Solaris.
I also managed to build with gcc with:

./configure CC=gcc CXX=g++ F77="gfortran" LDFLAGS="-L/opt/csw/gcc4/lib
-L/opt/csw/lib"

Again, basically the options from the R manual, although changed for a
32-bit build.

The R manual says R fails tests if built with gcc 4 (where 4.00 or 4.x
is not specified) on Solaris x86. I will try a build on Solaris x86 as
some time with both Forge and gcc, but not today.

Dave
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to