I have the packages I am using online if anyone is interested

http://www.h-3.org.uk/solaris/packages/SWPKGgcc44.pkg

http://www.h-3.org.uk/solaris/patches/gcc44_rpath.patch

(Installs to /opt/gcc44 and automatically rpath links /opt/gcc44/lib (and 
/opt/gcc44/lib/64 with -m64))

Its got the dependencies in /opt/gcc44/deps/lib (cloog-ppl, ppl, gmp and mpfr) 
I would prefer to use the bundled gmp / mpfr but because of cloog needing 
gmp-cxx its not so simple.

I had to hack a build rpath into LDFLAGS as well.

[samw at io] (~)% /opt/gcc44/bin/gcc -v
Using built-in specs.
Target: i686-pc-solaris2.11
Configured with: ../configure --build=i686-pc-solaris2.11 --prefix=/opt/gcc44 
--with-ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/usr/sfw/bin/gas 
--enable-decimal-float --with-gmp=/opt/gcc44/deps --with-mpfr=/opt/gcc44/deps 
--with-ppl=/opt/gcc44/deps --with-cloog=/opt/gcc44/deps 
--with-libiconv-prefix=/opt/swpkg/static --enable-languages=c,c++,fortran,objc 
--with-pic --enable-c99 --enable-nls --enable-wchar_t 
--enable-libstdcxx-allocator=mt --with-system-zlib --enable-threads=posix 
--enable-tls=yes
Thread model: posix
gcc version 4.4.1 20090817 (prerelease) (GCC)
-- 
This message posted from opensolaris.org

Reply via email to