Octave can compile, and like you've I've tried off and on for sometime but to no-avail.
Last March, I finally took it on and got it to compile nicely with the MipsPro 7.3
compiler. Here is what I used as a 'Build script'
#!/bin/bash
#
#
export CC="cc -n32 -mips4 -mp -apo -O3 "
export CXX="CC -n32 -mips4 -mp -apo -O3 "
export F77="f77 -n32 -mips4 -mp -apo -O3 "
export CFLAGS=" -apo -n32 -mips4 -O3 -mp -I/usr/freeware/include"
export CXXFLAGS="-apo -n32 -LANG:std -ptused -prelink -mips4 -O3 -mp -I/usr/freeware/include -woff 3333"
export FFLAGS="-apo -n32 -mips4 -O3 -mp "
export LDFLAGS="-apo -n32 -mips4 -L/usr/lib32/mips4 -L/usr/freeware/lib32"
export LIBS="-lfastm -lreadline -lncurses -lmp -lpthread"
export FLIBS="-lftn -lfastm -lmp -lpthread"
export MAKE="gmake -j35"
./configure --prefix=/sw/freeware --enable-shared --disable-static --enable-rpath='-rpath /usr/lib32:$(octlibdir):/usr/freeware/lib32' --with-blas=scs_mp
-------
There is one more thing:
You will need some special headers that fake the C++ ISO standard headers. I put these
over in /usr/freeware/include but you can place them where you need. I got these from
one of the Octave developers, but I don't think he would mind if I passed the along.
You can fetch them via ftp at ftp://egypt.spd.louisville.edu/pub/CC-isoheaders.tar
Also note: I've been told to expect precision problems with -lfastm so it's optional.
Double also note: This is for a parallel version of Octave. A single processor version
should be much easier. <Grin>
Best Regards,
CHuck
Last March, I finally took it on and got it to compile nicely with the MipsPro 7.3
compiler. Here is what I used as a 'Build script'
#!/bin/bash
#
#
export CC="cc -n32 -mips4 -mp -apo -O3 "
export CXX="CC -n32 -mips4 -mp -apo -O3 "
export F77="f77 -n32 -mips4 -mp -apo -O3 "
export CFLAGS=" -apo -n32 -mips4 -O3 -mp -I/usr/freeware/include"
export CXXFLAGS="-apo -n32 -LANG:std -ptused -prelink -mips4 -O3 -mp -I/usr/freeware/include -woff 3333"
export FFLAGS="-apo -n32 -mips4 -O3 -mp "
export LDFLAGS="-apo -n32 -mips4 -L/usr/lib32/mips4 -L/usr/freeware/lib32"
export LIBS="-lfastm -lreadline -lncurses -lmp -lpthread"
export FLIBS="-lftn -lfastm -lmp -lpthread"
export MAKE="gmake -j35"
./configure --prefix=/sw/freeware --enable-shared --disable-static --enable-rpath='-rpath /usr/lib32:$(octlibdir):/usr/freeware/lib32' --with-blas=scs_mp
-------
There is one more thing:
You will need some special headers that fake the C++ ISO standard headers. I put these
over in /usr/freeware/include but you can place them where you need. I got these from
one of the Octave developers, but I don't think he would mind if I passed the along.
You can fetch them via ftp at ftp://egypt.spd.louisville.edu/pub/CC-isoheaders.tar
Also note: I've been told to expect precision problems with -lfastm so it's optional.
Double also note: This is for a parallel version of Octave. A single processor version
should be much easier. <Grin>
Best Regards,
CHuck