X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Date: Thu, 14 Apr 2011 22:45:18 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: 1.7.9 gcc linking fails after cygwin update Message-ID: <20110415024518.GE28016@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4DA7AFB3 DOT 8090609 AT soe DOT ucsc DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DA7AFB3.8090609@soe.ucsc.edu> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, Apr 14, 2011 at 07:38:43PM -0700, Patrick Tantalo wrote: >Hi Folks: > >After a recent update of Cygwin on XP Professional my previously >working C/C++ programs suddenly quit compiling under gcc/g++. >Actually they pass all stages of compilation except the final link >stage. This goes for the simplest of programs such as > > /* simple.c */ > int main(){ return 0; } > >The ouput of gcc simple.c is: > >/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: >unrecognized -a option `ware' >collect2: ld returned 1 exit status Update your binutils. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple