Subject: Re: Cygwin 1.5.1 libc.a link problem
From: "Gerrit P. Haase" <[email-masked]>
To: [email-masked]
Date: Tue, 5 Aug 2003 22:10:31 +0200

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