|
|
"Thommy M. Malmström" <thommy.m.malmstrom@xxxxxxxxx> wrote:
> Lucky you. I still have errors...
>
>
> $ cd /opt/local/src
> $ gtar jxf gcc-4.1.1.tar.bz2
> $ mkdir buildgcc-4.1.1
> $ cd buildgcc-4.1.1
> $ export CONFIG_SHELL=/usr/bin/bash
>
> $ ../gcc-4.1.1/configure --prefix=/opt/local --with-as=/usr/ccs/bin/as
> --with-ld=/usr/ccs/bin/ld --enable-threads --disable-nls
> --enable-java-awt=xlib --with-x --enable-languages=c,c++,java,objc
On x86/amd64 you'd better use gas:
... --with-gnu-as --with-as=/usr/sfw/bin/gas ...
Java doesn't build on amd64 - I don't know how to disable building of a
64-bit gcc if Solaris 10 was detected.
Maybe you could try
--host=i386-sun-solaris2.9
But I haven't tried.
--
Daniel
|
|