Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-AuthUser: gerrit:koeln.convey.de Date: Tue, 5 Aug 2003 22:10:31 +0200 From: "Gerrit P. Haase" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <661588626163.20030805221031@familiehaase.de> To: cygwin AT cygwin DOT com Subject: Re: Cygwin 1.5.1 libc.a link problem In-Reply-To: <20030805190957.GA2180@tishler.net> References: <20030805190957 DOT GA2180 AT tishler DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > 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/