gcc PR target/7940 is cygwin specific. The wrong library gets limnked in due to the anappropriate use of -L/usr/lib/mingw.
The problem isn't present in the current cygwin release, so I guess it was fixed on the cygwin-mingw branch. It would be nice to get this fixed before the gcc-3.3 branch point. If someone knows the fix, I would be happy to test it.
