------- Comment #5 from howarth at nitro dot med dot uc dot edu  2010-07-10 
01:41 -------
/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/g++
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.4.0/bin/
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/src/.libs
-nostdinc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/include/x86_64-apple-darwin10.4.0
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/include
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100707/libstdc++-v3/libsupc++
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/src/.libs
-o conftest -g -O2 -gtoggle -I/sw/include
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/src/.libs
-static-libstdc++ -static-libgcc conftest.cpp -L/sw/lib -liconv

with the additional
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/src/.libs
links fine under darwin.

Any ideas how we can modify...


[poststage1_ldflags=
 # With --enable-build-with-cxx, default to linking libstdc++ and
 # libgcc statically.  But if the user explicitly specified the
 # libraries to use, trust that they are doing what they want.
 if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
   poststage1_ldflags="-static-libstdc++ -static-libgcc"
 fi])
AC_SUBST(poststage1_ldflags)

in the top level configure.ac such that an appropriate -B<directory path> is
passed
in this case?  I don't see any obvious examples for this in the various
configure.ac files.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44862

Reply via email to