On Jun 21, 2007, at 10:29 AM, Benson Margulies wrote:
I get similar results for a variety of gcc versions that I have on this system. The gcc -v output is at the bottom.
bin.v2/libs/signals/build/gcc-3.4.2/debug/threading-multi/ libboost_signa ls-gcc34-mt-d-1_34.so.1.34.0 /usr/ccs/bin/ld: illegal option -- start-group /usr/ccs/bin/ld: illegal option -- end-group
Reading specs from /opt/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.2/specs Configured with: ../gcc-3.4.2/configure --prefix=/opt/sfw --with-ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/opt/sfw/bin/gas --enable-shared --disable-libgcj Thread model: posix gcc version 3.4.2
Since your gcc compiler was configured to use Sun's ld, try adding <linker-type>sun to the using gcc options in user-config.jam. Mine looks like this. using gcc : 3.4.6 : /usr/local/bin/g++ : <cflags>"-mcpu=v9 -m64" <cxxflags>"-mcpu=v9 -m64" <linkflags>"-mcpu=v9 -m64" <linker-type>sun ; -- Noel