delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/10/05:11:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 10 May 2011 11:10:18 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Help! How to find newlib?
Message-ID: <20110510091018.GN27739@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <201105100955 DOT 02930 DOT xjin1 AT gwdg DOT de>
MIME-Version: 1.0
In-Reply-To: <201105100955.02930.xjin1@gwdg.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019