1.7.9 gcc linking fails after cygwin update

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Fri Apr 15 10:05:00 GMT 2011


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



More information about the Cygwin mailing list