[kde-solaris] KDE 3.1.2 on solaris 8 with g++-v3.3.1

Laurent Blume laurent at elanor.org
Thu Aug 28 10:46:31 CEST 2003


Jan Van Belle wrote:

> Did you build gcc yourself too?? (if yes, can you give me
> the configuration options please??)
> I think my proble has something to do with the
> --with-local-prefix options (which I did not use in previous
> compiles)

Sure, nothing fancy, be aware though that this is for Solaris x86.
GNU Binutils should not be used on Sparc.

# This is because GCC automatically uses as and ld from
# that directory on Solaris, even when not in the PATH
mv /usr/ccs /usr/ccs.outoftheway

# GNU tools first in the PATH, though I think it's
# not really needed for GCC
export PATH=/opt/gnu/bin:$PATH

# Build in a separate directory
mkdir gcc_build
cd gcc_build
../gcc-3.3.1/configure  --prefix=/opt/gcc-3.3.1 \
   --with-gnu-as --with-as=/opt/binutils/bin/as \
   --with-gnu-ld --with-ld=/opt/binutils/bin/ld \
   --enable-threads=posix --disable-nls
gmake bootstrap
gmake install

# Do not forget to do that!
mv /usr/ccs.outoftheway /usr/ccs

Hope this helps,

Laurent



More information about the kde-solaris mailing list