This is the mail archive of the cygwin@cygwin.com 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]

Re: Cygwin 1.5.1 libc.a link problem


> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]