--- Lun 18/10/10, Samuel Thibault scritto: > > > From: Samuel Thibault > > > $ cat test.c > > > int main(void) {} > > > $ gcc test.c -o test -static > > > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: > > > cannot find -lgcc_s > > > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: > > > cannot find -lgcc_s > > > > > > There indeed is libgcc_s.dll.a in > /usr/lib/gcc/i686-pc-cygwin/, but for > > > some reason gcc doesn't seem to be happy with it. > This is using gcc4 > > > and > > > gcc4-core 4.3.4-3. gcc-3 works fine. > > > > Please, why such a large test case when the following > would > > have been perfectly adequate to demonstrate the > problem?: > > > > $ cat test.c > > main() {} > > $ > > Because providing precise information is always better when > reporting a > bug, whatever the circumstances. > > That being said, I'd still like to see this bug fixed: the > -static is > suppoed to be able to work alone. > > Samuel >
have you checked if 4.5 has the same problem ? http://cygwin.com/ml/cygwin-announce/2010-08/msg00016.html -- 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