From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mumit Khan To: Greg Miller Cc: cygwin@sourceware.cygnus.com Subject: Re: linking and iostreams Date: Fri, 12 Mar 1999 14:34:00 -0000 Message-id: <199903122233.QAA29918@modi.xraylith.wisc.edu> In-reply-to: Your message of "Fri, 12 Mar 1999 14:08:47 CST." < 36E9744E.790549C@classic-games.com > References: <36E9744E.790549C@classic-games.com> X-SW-Source: 1999-03/msg00386.html 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mumit Khan To: Greg Miller Cc: cygwin@sourceware.cygnus.com Subject: Re: linking and iostreams Date: Wed, 31 Mar 1999 19:45:00 -0000 Message-ID: <199903122233.QAA29918@modi.xraylith.wisc.edu> References: <36E9744E.790549C@classic-games.com> X-SW-Source: 1999-03n/msg00386.html Message-ID: <19990331194500.u92XJkSAojJ5hCf4r5JTNm4e_paL2JuH6NUIG_v_zfY@z> 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