cygwin 1.5.1 libc.a link problem

Christopher Faylor cgf-idd@cygwin.com
Wed Aug 6 04:50:00 GMT 2003


On Tue, Aug 05, 2003 at 04:20:15PM -0400, Christopher Faylor wrote:
>On Tue, Aug 05, 2003 at 03:09:57PM -0400, Jason Tishler wrote:
>>While attempting to rebuild procmail against Cygwin 1.5.1, I believe I
>>have found a problem with libc.a that interferes with building 64-bit
>>apps.
>>
>>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
>
>Ok.  Interesting.  I know what the problem is.  Should be "easy" to fix.
>
>Sounds like we need a 1.5.2.

Oh yeah.  That was wicked easy.

Can someone confirm or deny that the latest snapshot solves this
problem?

cgf

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