------- Comment #16 from david dot kirkby at onetel dot net 2009-06-28 16:55 ------- I thought my comments were going to appear before the files were posted, not after it. Anyway, the libraries are in /usr/local/lib, and appear to work, as I can compile and link against them.
kir...@t2:[~] $ /usr/sfw/bin/gcc -L/usr/local/lib -R /usr/local/lib -lgmp -lmpfr hello_world.c kir...@t2:[~] $ ldd ./a.out libgmp.so.3 => /usr/local/lib/libgmp.so.3 libmpfr.so.1 => /usr/local/lib/libmpfr.so.1 libc.so.1 => /lib/libc.so.1 libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1 libm.so.2 => /lib/libm.so.2 /platform/SUNW,T5240/lib/libc_psr.so.1 kir...@t2:[~] But a script I used to try to build gcc #!/bin/sh LDFLAGS='-L/usr/local/lib -R/usr/local/lib' BOOT_LDFLAGS='-L/usr/local/lib -R/usr/local/lib' export LDFLAGS export BOOT_LDFLAGS rm -rf gcc-4.4.0-built-with-gcc-3.4.3-ABI32b mkdir gcc-4.4.0-built-with-gcc-3.4.3-ABI32b cd gcc-4.4.0-built-with-gcc-3.4.3-ABI32b /home/kirkby/gcc-4.4.0/configure 'CC=/usr/sfw/bin/gcc' \ --prefix=/usr/local/gcc-4.4.0-sun-linker \ --without-gnu-as \ --without-gnu-ld \ --with-as=/usr/ccs/bin/as \ --with-ld=/usr/ccs/bin/ld \ --enable-languages=c,c++,fortran \ --with-mpfr-lib=/usr/local/lib \ --with-mpfr-include=/usr/local/include \ --with-gmp-include=/usr/local/include \ --with-gmp-lib=/usr/local/lib \ --with-libiconv-prefix=/usr/lib/iconv gmake -j 200 fails, with the logs I just posted. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40572