delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <20010615003034.5450.qmail@web14507.mail.yahoo.com> |
Date: | Fri, 15 Jun 2001 10:30:34 +1000 (EST) |
From: | =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001 AT yahoo DOT co DOT nz> |
Subject: | RE: Issue calling Com function(s) |
To: | Paul K Gleske <pkg AT gleske DOT org>, cygwin AT cygwin DOT com |
In-Reply-To: | <NCBBLNOKDKEGJLPOBEJDIEPJGHAA.pkg@gleske.org> |
MIME-Version: | 1.0 |
--- Paul K Gleske <pkg AT gleske DOT org> wrote: > Slight goof on that post. The make file I posted didn't have > everything set > (it was missing the -lole32 flag to the link). Here is the correct > makefile: > > ----------------- > makefile > ----------------- > .PHONY: clean all > > istreamtest.exe : istreamtest.obj > gcc -o istreamtest.exe -mwindows -mno-cygwin -lole32 istreamtest.obj > -lole32must follow istreamtest.obj [snip] > > Thanks for the link to the description of -fvtable-thunk. However, I > don't > think it helps me to understand how/when it should be used. There is > the > comment that all libs must be re-compiled including libgcc.a. How do > I do > that? Is it really necessary? Yes, if you are going to use C++ exception handling (in libgcc.a) or any classes/functions from libstdc++.a. In your testcase, you didn't. Also any other support C++ libs must be built with same setting. I hope to have vtable-thunk versions of libstdc++.a, libgcc.a and _G_config.h uploaded to mingw file release page this weekend. They will of course only be useful to you if you are using -mno-cygwin (or mingw) Danny _____________________________________________________________________________ http://messenger.yahoo.com.au - Yahoo! Messenger - Voice chat, mail alerts, stock quotes and favourite news and lots more! -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |