"Uwe F. Mayer" <uwe...@yahoo.com> writes: > It seems that gcc-4 has problems finding libgcc_s when compiling with > -static. This works fine with gcc-3. Example: > > $ cat pointer.c > #include <stdio.h> > int main(){ > printf("%d",(int)sizeof(long)); > return(0); > }
Confirmed for my installation. I think that the problem probably lies with: 18:08:39 Paul bibbi...@jijou /cygdrive/d/CProjs $ls -l /usr/lib/gcc/i686-pc-cygwin/4.3.4 | grep gcc -rw-r--r-- 1 Paul Bibbings root 201150 Dec 11 2009 libgcc.a -rw-r--r-- 1 Paul Bibbings root 131212 Dec 11 2009 libgcc_eh.a -rwxr-xr-x 1 Paul Bibbings root 67150 Dec 11 2009 libgcc_s.dll.a ^^^^ Regards Paul Bibbings -- 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