This is the mail archive of the
mailing list for the Cygwin project.
Re: Help! How to find newlib?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 10 May 2011 11:10:18 +0200
- Subject: Re: Help! How to find newlib?
- References: <email@example.com>
- Reply-to: 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
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple