Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Ralf Habacker" To: "Binutils" Cc: "Cygwin" Subject: Problems with generating kde2 dlls under cygwin Date: Sat, 21 Jul 2001 11:32:36 +0200 Message-ID: <000501c111c8$13aed1c0$b06707d5@BRAMSCHE> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Hi all, on compiling kde 2 for cygwin I have problems with the ld -whole-archive option. Perhaps someone can help me. The ld manual tells the following about the --whole-archive option: "For each archive mentioned on the command line after the --whole-archive option, include every object file in the archive in the link, rather than searching the archive for the required object files. This is normally used to turn an archive file into a shared library, forcing every object to be included in the resulting shared library. This option may be used more than once."" This works good in the following manner: g++ -shared -Wl,--whole-archive -Wl,-no-whole-archive and if are import libs of other shared libraries. If contains a static lib, the used symbols of this lib are always exported. Can anyone tell, whats goeing wrong and how I could supress this ? Thank you for any help Regard Ralf Habacker -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/