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 |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Stephano Mariani" <sk DOT mail AT btinternet DOT com> |
To: | <cygwin AT cygwin DOT com>, <libtool AT gnu DOT org> |
Subject: | How do I export only specific symbols? What name should I pass to lt_dlopen? |
Date: | Sun, 17 Feb 2002 12:43:28 -0000 |
Message-ID: | <009f01c1b7b0$b367b590$01000001@sknet01> |
MIME-Version: | 1.0 |
X-Priority: | 1 (Highest) |
X-MSMail-Priority: | High |
X-Mailer: | Microsoft Outlook, Build 10.0.2616 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Importance: | High |
Hello, I am using the current libtool with cygwin 1.3.9 (all packages up to date as of this morning): libtool 20010531a-1 libtool-devel 20020202-1 libtool-devel-src 20020202-1 libtool-stable 1.4.2-2 My project has to run on windows (NT/2000/XP) and Linux (2.4.9) and Solaris (8). Here is the relevant portion of the makefile Makefile.am: [snip] lib_LTLIBRARIES = libsk.la libsk_la_SOURCES = ... libsk_la_LDFLAGS = -no-undefined -export-dynamic -version-info 1:0:0 -module -export-symbols sk.sym [/snip] However, when examining the libsk.dll.a on windows, ALL the symbols are exported! I have yet to see if the patched libtool even works on Linux or Solaris. How do I specify a .def file for windows targets? The .sym seems to make no difference. Thanks in advance! Stephano Mariani -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |