Hi,

>> Ah, that's the problem - 3.4.4 is very old.  I don't think it fully
>> supported exception handling.  Do you have a 4.x-series GCC you can
>> use?  If not, you will find some problems with other bits of Étoilé
>> which require atomic operations (introduced with GCC 4.2).  I've
>> compiled GCC 4.3 on Solaris/SPARCv9 before, so it should work for 
>> you...
>
> Blastwave's GCC 4.x works like a charm. Biggest advantage is, the
> packages support dependencies. Kinda like FreeBSD ports.

I unfortunately was not even able to build gcc 4.4.1 on my machine! :-(

        cd /usr/src
        gunzip gcc-4.4.1.tar.gz
        gtar xvf gcc-4.4.1.tar
        cd gcc-4.4.1
        mkdir objdir
        cd objdir
        ksh
export CONFIG_SHELL=/bin/ksh
export PATH=/usr/sfw/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/sbin:/usr/bin
../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld 
--disable-nls  --disable-libgcj --enable-shared 
--disable-sjlj-exceptions --enable-languages=c,c++,objc 
--with-gmp=/usr/local --with-mpfr=/usr/local
gmake bootstrap

...
                         
INSTALL_SCRIPT="/usr/share/src/gcc-4.4.1/install-sh -c" \
                         all); then \
           true; \
         else \
           exit 1; \
         fi; \
       else true; \
       fi; \
     fi; \
   done; \
fi
gmake[4]: Entering directory 
`/usr/share/src/gcc-4.4.1/objdir/i386-pc-solaris2.10/amd64/libiberty'
gmake[4]: *** No rule to make target `all'.  Stop.
gmake[4]: Leaving directory 
`/usr/share/src/gcc-4.4.1/objdir/i386-pc-solaris2.10/amd64/libiberty'
gmake[3]: *** [multi-do] Error 1
gmake[3]: Leaving directory 
`/usr/share/src/gcc-4.4.1/objdir/i386-pc-solaris2.10/libiberty'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/share/src/gcc-4.4.1/objdir/i386-pc-solaris2.10/libiberty'
gmake[1]: *** [all-target-libiberty] Error 2
gmake[1]: Leaving directory `/usr/share/src/gcc-4.4.1/objdir'
gmake: *** [bootstrap] Error 2

Exactly which gcc version did you use?

Thanks,

   Andreas


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à