On 2011-09-25 PM 11:51, Dave Korn wrote:
before you can compile it from source, and that it might be worth backing up
the .la files just in case this -lstdc++ actually is required somewhere, but
I'd be happier if this could either be fixed in the distro, or if someone
could tell me why these libs think they need to link against libstdc++?

     cheers,
       DaveK



This problem comes from *executing libtool commands*
You can see in config.status of pango

$ cat config.status|grep postdeps
postdeps=''
postdeps_CXX='-lstdc++ -lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt'

rm ./libtool
./config.status #we can see *executing libtool commands*. and libtool is auto-generated.
and now resulting libtool has ill-tagged postdeps variable

$ cat libtool|grep postdeps
postdeps=""
      # don't eliminate duplications in $postdeps and $predeps
      libs="$predeps $libs $compiler_lib_search_path $postdeps"
      # $postdeps and mark them as special (i.e., whose duplicates are
        for pre_post_dep in $predeps $postdeps; do
              case " $predeps $postdeps " in
        case " $predeps $postdeps $compiler_lib_search_path " in
                  case " $predeps $postdeps " in
                    case " $predeps $postdeps " in
                case " $predeps $postdeps " in
                case " $predeps $postdeps " in
            for i in $predeps $postdeps ; do
postdeps="-lstdc++ -lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt"


Why we got postdeps instead of postdeps_CXX?

Regards.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to