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: <199904120210.VAA17498@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: Ed Park cc: cygwin@sourceware.cygnus.com Subject: Re: Why does gcc -O2 fail on B20.1 and NT? (More info) In-reply-to: Your message of "Sun, 11 Apr 1999 18:42:16 CDT." <199904112343.SAA28431@thor.xraylith.wisc.edu> Date: Sun, 11 Apr 1999 21:10:11 -0500 From: Mumit Khan Ed Park writes: > Sorry, I should have attached more info (thanks to Phil for the tip) > > config.log: [ .... ] > configure:1061: checking for gcc > configure:1174: checking whether the C compiler (gcc -O2 -g ) works > configure:1190: gcc -o conftest -O2 -g conftest.c -lcygipc 1>&5 > /cygnus/CYGWIN~1/H-I586~1/i586-cygwin32/bin/ld: cannot open -lcygipc: No > such file or directory There's your problem right there. The configure script expects the Cygwin IPC library, which you don't have (or at least gcc is not finding it). btw, the configure script is done correctly. One should never add non-standard/system libraries when checking for the compiler; rather one should check for required libraries *afterwards* and hence provide more intelligible error message when a library required by the software is not found. Here's the URL for IPC by Ludovic LANGE (llange@capgemini.fr): http://www.multione.capgemini.fr/tools/pack_ipc/ A mailing list search will pull up the same info as well. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com