delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Authentication-Warning: | router.local.rw-it.net: robert set sender to robert AT rw-it DOT net using -f |
Date: | Wed, 7 Jan 2004 14:50:27 +0000 |
From: | Robert Wruck <robert AT rw-it DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | Problems with libtool and libstdc++.la |
Message-ID: | <20040107145027.GA23016@router.local.rw-it.net> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.4i |
X-PGP-Key-ID: | 1024D/E3930872, 2048g/A89F0979 |
X-PGP-Key-Fingerprint: | 122B E9B5 F359 2BEF B2A9 B417 ADD4 9D07 E393 0872 |
X-PGP-Key-URL: | http://www.rw-it.net/pubkey.asc |
Hello, i have a problem linking a DLL with libtool and -lstdc++. (using cygwin packages gcc 3.3.1-3 and libtool 1.5b-1) libtool complains that "This system can not link to static lib archive /usr/lib/libstdc++.la" Interestingly enough, if I turn off libtool's dependency lib checking (by setting deplibs_check_method to pass_all), the library is built correctly, but i don't know if that is a safe approach (at least, libtool.m4 sets deplibs_check_method to file_magic on cygwin). Additionally, libtool complains that "/usr/lib/libstdc++.la has been moved". This might be caused by the libdir entry, which reads '/GCC/gcc-3.3.1-3/.inst/package-gcc/usr/lib/.' (which doesn't exist). However, correcting this to /usr/lib/. doesn't solve my problem. any comments? Please cc me, as I'm not subscribed to this list. cheers, robert below is my libstdc++.la: ------ # libstdc++.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.4a-GCC3.0 (1.641.2.256 2001/05/28 20:09:07 with GCC-local changes) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='' # Names of this library. library_names='' # The name of the static archive. old_library='libstdc++.a' # Libraries that this one depends upon. dependency_libs=' -L/GCC/gcc-3.3.1-3/.build/i686-pc-cygwin/libstdc++-v3/src -L/GCC/gcc-3.3.1-3/.build/i686-pc-cygwin/libstdc++-v3/src/.libs -L/GCC/gcc-3.3.1-3/.build/gcc -L/usr/i686-pc-cygwin/bin -L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1 -L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../.. -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc' # Version information for libstdc++. current=5 age=0 revision=5 # Is this an already installed library? installed=yes # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/GCC/gcc-3.3.1-3/.inst/package-gcc/usr/lib/.' ------ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |