Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <36E9744E.790549C@classic-games.com> Date: Fri, 12 Mar 1999 14:08:47 -0600 From: Greg Miller X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: linking and iostreams Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit 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 Notably, it generates a number of references to "__errno" from libstdc++.a, which, AFAIK, should not include ANY references to "__errno" in the mingw-libs version. So what am I doing wrong? -- http://www.classic-games.com/ President Clinton was acquitted; then again, so was O. J. Simpson. *** NEWBIES: Limit signatures to four lines! No HTML mail or posts! *** -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com