Cygwin 1.5.1 libc.a link problem

Gerrit P. Haase gp@familiehaase.de
Tue Aug 5 20:08:00 GMT 2003


> If one builds the attached test program without -lc, we get the
> following:

>     $ gcc -o stat stat.c
>     $ objdump -p stat.exe | fgrep stat
>             6100      510  _stat64

> But, if one builds it with -lc, we get the following:

>     $ gcc -o stat stat.c -lc
>     $ objdump -p stat.exe | fgrep stat
>             6130      945  stat

Jason, thank you very much!

This was exactly what breaks my perl after my patch seems to fix the
problem with the wrong typecasts (see perl5-porters archive).


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list