| 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: | localhost.localdomain: ronald owned process doing -bs |
| Date: | Thu, 10 Apr 2003 16:33:05 +0200 (CEST) |
| From: | Ronald Landheer-Cieslak <ronald AT landheer DOT com> |
| X-X-Sender: | ronald AT localhost DOT localdomain |
| To: | Lester Ingber <ingber AT ingber DOT com> |
| cc: | cygwin AT cygwin DOT com |
| Subject: | Re: -mno-cygwin and "undefined reference to `_impure_ptr'"? |
| In-Reply-To: | <20030410101858.A70274@ingber.com> |
| Message-ID: | <Pine.LNX.4.44.0304101626330.17056-100000@localhost.localdomain> |
| MIME-Version: | 1.0 |
On Thu, 10 Apr 2003, Lester Ingber wrote:
> gcc -shared -mno-cygwin -o ${module}.dll \
produce the DLL: ^^^^^^^^^^^^^
> -Wl,--out-implib=lib${module}.dll.a \
the implib: ^^^^^^^^^^^^^^^^^^
you can produce a def file as well if you like:
-Wl,--output-def=$module.def
so I see no reason for dlltool.
I.e.: I maintain a local port of PCRE for MinGW & Cygwin where I work
(the packaged version is hopelessly out of date) and I don't use dlltool
for it - but I do produce .lib files which are used with MSVC (using
MinGW) and .a files for both Cygwin and MinGW - as well as .def files.
But hey: "quand on aime, on ne compte pas :)"
rlc
--
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 |