Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm Sender: cygwin-owner@sourceware.cygnus.com Delivered-To: mailing list cygwin@sourceware.cygnus.com Message-Id: <199903122233.QAA29918@modi.xraylith.wisc.edu> X-Authentication-Warning: modi.xraylith.wisc.edu: localhost.xraylith.wisc.edu [127.0.0.1] didn't use HELO protocol To: Greg Miller cc: cygwin@sourceware.cygnus.com Subject: Re: linking and iostreams In-reply-to: Your message of "Fri, 12 Mar 1999 14:08:47 CST." <36E9744E.790549C@classic-games.com> Date: Fri, 12 Mar 1999 16:33:58 -0600 From: Mumit Khan Greg Miller writes: > > This program: > > #include > > int main() { > cout << "test" << endl; > > return 0; > } > > compiles, links, and does what I expect when compiled with B20.1 and > egcs-1.1.1 using this command: > > g++ test.c > > but generates numerous undefined references during linking when compiled > with: > > g++ -mno-cygwin test.c Please see my howto[1] on -mno-cygwin option. This issue has been discussed in detail in this group, so the search engine is also a good option. [1] http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ http://www.delorie.com/howto/ Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com