| 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 |
| Date: | Sat, 23 Nov 2002 11:02:20 +0100 |
| From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
| Organization: | Esse keine toten Tiere |
| X-Priority: | 3 (Normal) |
| Message-ID: | <1573001262.20021123110220@familiehaase.de> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: The Black Art of DLL Creation (revisited) |
| In-Reply-To: | <121531094763.20021122232353@familiehaase.de> |
| References: | <Xns92CE8DFF2E1BCsoren1Gmane AT 80 DOT 91 DOT 224 DOT 249> |
| <121531094763 DOT 20021122232353 AT familiehaase DOT de> | |
| MIME-Version: | 1.0 |
| X-Sender: | 320081107336-0001 AT t-dialin DOT net |
Hallo, [...] > passes it to ld: > $command ="$CC -shared -o $dllname"; > # $command .=" --verbose" if $verbose; > $command .=" -Wl,--output-def=$libname$DEF_EXT" if $DEF_EXT; > $command .=" -Wl,--output-exp=$libname$EXP_EXT" if $EXP_EXT; > $command .=" -Wl,--out-implib=$libname.dll$LIB_EXT" if $LIB_EXT; > $command .=" -Wl,--export-all-symbols" if $EXPORT_ALL; > $command .=" -Wl,--enable-auto-import -Wl,--stack,8388608"; # always > There should be correct .def and .exp files then. This is also not correct...it seems ld doesn't support creating .exp libraries or it is done in a different way? So: $command .=" -Wl,--output-exp=$libname$EXP_EXT" if $EXP_EXT; doesn't work with gcc -shared. Gerrit -- =^..^= -- 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 |