I run this from objdir: ----------------------------------------- export U01=/global/lunadg/d01; export CONFIG_SHELL=/bin/ksh; export CC=gcc;
$U01/app/gcc/src/gcc-3.4.0/configure \ --prefix=$U01/app/gcc/product/3.4.0 \ --with-gnu-as \ --with-as=$U01/app/binutils/product/2.15/bin/as \ --with-gnu-ld \ --with-ld=$U01/app/binutils/product/2.15/bin/ld ------------------------------------ And then I get this at the end:
/global/lunadg/d01/app/gcc/src/obj/gcc/xgcc -shared-libgcc -B/global/lunadg/d01/app/gcc/src/obj/gcc/ -nostdinc++ -L/global/lunadg/d01/app/gcc/src/obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src -L/global/lunadg/d01/app/gcc/src/obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs -B/global/lunadg/d01/app/gcc/product/3.4.0/sparc-sun-solaris2.8/bin/ -B/global/lunadg/d01/app/gcc/product/3.4.0/sparc-sun-solaris2.8/lib/ -isystem /global/lunadg/d01/app/gcc/product/3.4.0/sparc-sun-solaris2.8/include -isystem /global/lunadg/d01/app/gcc/product/3.4.0/sparc-sun-solaris2.8/sys-include -m64 -shared -nostdlib /global/lunadg/d01/app/gcc/src/obj/gcc/sparcv9/crti.o /usr/ccs/lib/sparcv9/values-Xa.o /global/lunadg/d01/app/gcc/src/obj/gcc/sparcv9/crtbegin.o .libs/allocator.o .libs/codecvt.o .libs/complex_io.o .libs/ctype.o .libs/debug.o .libs/debug_list.o .libs/functexcept.o .libs/globals_locale.o .libs/globals_io.o .libs/ios.o .libs/ios_failure.o .libs/ios_init.o .libs/ios_locale.o .libs/limits.o .libs/list.o .libs/locale.o .libs/locale_init.o .libs/locale_facets.o .libs/localename.o .libs/stdexcept.o .libs/strstream.o .libs/tree.o .libs/allocator-inst.o .libs/concept-inst.o .libs/fstream-inst.o .libs/ext-inst.o .libs/io-inst.o .libs/istream-inst.o .libs/locale-inst.o .libs/locale-misc-inst.o .libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o .libs/streambuf-inst.o .libs/string-inst.o .libs/valarray-inst.o .libs/wlocale-inst.o .libs/wstring-inst.o .libs/atomicity.o .libs/codecvt_members.o .libs/collate_members.o .libs/ctype_members.o .libs/messages_members.o .libs/monetary_members.o .libs/numeric_members.o .libs/time_members.o .libs/basic_file.o .libs/c++locale.o -Wl,--whole-archive ../libmath/.libs/libmath.a ../libsupc++/.libs/libsupc++convenience.a -Wl,--no-whole-archive -L/global/lunadg/d01/app/gcc/src/obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src -L/global/lunadg/d01/app/gcc/src/obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs -lm ../libmath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a -lm -L/global/lunadg/d01/app/gcc/src/obj/gcc/sparcv9 -L/global/lunadg/d01/app/gcc/src/obj/gcc -L/usr/ccs/bin/sparcv9 -L/usr/ccs/bin -L/usr/ccs/lib/sparcv9 -L/usr/ccs/lib -L/lib/sparcv9 -L/usr/lib/sparcv9 -lgcc_s_sparcv9 -lgcc_s_sparcv9 -lm -lgcc_s_sparcv9 -lgcc_s_sparcv9 -lc /global/lunadg/d01/app/gcc/src/obj/gcc/sparcv9/crtend.o /global/lunadg/d01/app/gcc/src/obj/gcc/sparcv9/crtn.o -Wl,-O1 -Wl,-soname -Wl,libstdc++.so.6 -o .libs/libstdc++.so.6.0.0
collect2: ld terminated with signal 11 [Segmentation Fault], core dumped
make[6]: *** [libstdc++.la] Error 1
make[6]: Leaving directory `/global/lunadg/d01/app/gcc/src/obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/global/lunadg/d01/app/gcc/src/obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/global/lunadg/d01/app/gcc/src/obj/sparc-sun-solaris2.8/sparcv9/libstdc++-v3'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/global/lunadg/d01/app/gcc/src/obj/sparc-sun-solaris2.8/libstdc++-v3'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/global/lunadg/d01/app/gcc/src/obj/sparc-sun-solaris2.8/libstdc++-v3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/global/lunadg/d01/app/gcc/src/obj/sparc-sun-solaris2.8/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
I need help to figure out what I am doing wrong?
Thanks, Troy
-- Troy Simpson Applications Analyst/Programmer, OCPDBA, MCSE, SCSA North Carolina State University Libraries Campus Box 7111 | Raleigh | North Carolina ph.919.515.3855 | fax.919.513.3330 E-mail: Troy_Simpson@xxxxxxxx