www.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 sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <002d01bfd5ff$d04012a0$64091ba0@dougal> |
Reply-To: | "Paul Baxter" <paul_baxter AT i DOT am> |
From: | "Paul Baxter" <paul_baxter AT i DOT am> |
To: | "Cygwin List" <cygwin AT sourceware DOT cygnus DOT com> |
References: | <01bfd5b5$fadcbb70$4d87b3d1 AT deschutes> |
Subject: | Re: Is -mno-cygwin support being removed???? |
Date: | Wed, 14 Jun 2000 13:52:50 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4029.2901 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4029.2901 |
Thanks Dale for some excellent instructions. I have successfully duplicated your results and have managed to successfully test the FLTK v1 sources and examples with it. One query though. I notice the executable now links in both crtdll.dll and the newer msvcrt.dll. Is it possible to just have it use just msvcrt.dll? (It appears that only _assert is used from crtdll.dll) Hopefully this is just another instance of libraries needing to be included in the right order. I just use g++ -mno-cygwin hello.cpp to get my results (expecting your doctored version to include the right libs) objdump -p a.exe |grep 'DLL N' shows the necessary linked functions and dependency on crtdll.dll as well as msvcrt.dll -------------- // hello.cpp -- hello world example. #include <iostream> int main () { std::cout << "Hello world!" << std::endl; return 0; } -------------- Once again thank you very much for this temporary fix. Paul Baxter -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |