From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5684 invoked by alias); 10 May 2011 09:11:15 -0000 Received: (qmail 3982 invoked by uid 22791); 10 May 2011 09:10:37 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Tue, 10 May 2011 09:10:21 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id AAA9B2C0578; Tue, 10 May 2011 11:10:18 +0200 (CEST) Date: Tue, 10 May 2011 09:11:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Help! How to find newlib? Message-ID: <20110510091018.GN27739@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <201105100955.02930.xjin1@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201105100955.02930.xjin1@gwdg.de> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00114.txt.bz2 On May 10 09:55, Xin Jin wrote: > Hallo all, > > i'm using cygwin 1.7 for porting of a c/c++ written program from linux on > windows and want to get an executable file which is independable with cygwin. > This program needs "glibc" (the standard c library), particuly the pread, > pwrite function inside it. It is described in the cygwin user's guide that > newlib instead of glibc is used in cygwin. So the questions are: > > Is newlib already included in cygwin? But i can't find it with the > unix-command find / -name "newlib" in my cygwin directory. Or some packages > must be selected in the cygwin to get the "newlib"? Newlib is an integral part of the Cygwin DLL. You can't get newlib for Windows without Cygwin. Besides, if you need pread/pwrite, you're out of luck, these functions are not implemented in newlib, only in Cygwin. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple