This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7.9 gcc linking fails after cygwin update


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]