Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-AuthUser: gerrit:koeln.convey.de
Date: Tue, 5 Aug 2003 22:10:31 +0200
From: "Gerrit P. Haase" <gp@familiehaase.de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <661588626163.20030805221031@familiehaase.de>
To: cygwin@cygwin.com
Subject: Re: Cygwin 1.5.1 libc.a link problem
In-Reply-To: <20030805190957.GA2180@tishler.net>
References: <20030805190957.GA2180@tishler.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/

