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] |
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; }
I've attached the output of gcc --verbose simple.c to this message, along with the output of cygcheck -s -v -r. I believe only the last 4 lines of the --verbose output are relevant, and I quote them here:
(This really is 4 lines, though it may wrap on your display). I went so far as to completely uninstall cygwin, move all old files to another directory, then perform a fresh install of 1.7.9, with no luck.
It appears from the above that collect2.exe is being passed an option -tsaware (Terminal Server Aware?) which is being wrongly interpreted by ld as three separate options -t (--trace), -s (--strip-all), both of which are accepted, followed by -a with the invalid argument "ware". This is the only way I can make sense of the odd error message
As I understand it, collect2 renames itself ld, then calls the so called real-ld, but apparently somebody is getting the wrong arguments. I was hoping someone more knowledgeable than myself could look at my cycheck output and find out what's in the wrong place. Perhaps something in the Registry persists through the uninstall/install.
Attachment:
verbose.txt
Description: Text document
Attachment:
cygcheck.txt
Description: Text document
-- 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] |