Hi Art, > I tried the '--without-gnu-ld --with-ld=/usr/ccs/bin/ld' configure options > and my build failed again as my GNU 'ld' binary was again being found. So
strange: I'd have expected for gcc to honor a full path in --with-ld (and --with-ls for that matter). But then I never tried this before myself. > the next step was to rename my installed GNU 'ld' to 'ld-2.24' and adjust > my $PATH so that the directory where it was installed wouldn't be found, and > rebuild. I'm happy to report this build was a success: > > $ gcc -v > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/export/home/arth/local/libexec/gcc/sparc-sun-solaris2.10/4.10.0/lto-wrapper > Target: sparc-sun-solaris2.10 > Configured with: /export/home/arth/src/gcc.git/configure > --prefix=/export/home/arth/local --enable-languages=c,c++,objc > --disable-nls --with-gmp=/export/home/arth/local > --with-mpfr=/export/home/arth/local --with-mpc=/export/home/arth/local > --enable-checking=release --with-as=/export/home/arth/local/bin/as > --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld > Thread model: posix > gcc version 4.10.0 20140804 (experimental) [master revision > 0549e5a:2217af7:347a47cbf5f8ee0bc7e11dc97703b318d3ff259c] (GCC) > $ > > Thanks for your help in resolving this and maintaining the Solaris port. My pleasure, glad we could get this working. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University