* Help! How to find newlib?
@ 2011-05-10 7:55 Xin Jin
2011-05-10 8:59 ` marco atzeri
2011-05-10 9:11 ` Corinna Vinschen
0 siblings, 2 replies; 3+ messages in thread
From: Xin Jin @ 2011-05-10 7:55 UTC (permalink / raw)
To: cygwin
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"?
Please help me!
best regards
Xin
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help! How to find newlib?
2011-05-10 7:55 Help! How to find newlib? Xin Jin
@ 2011-05-10 8:59 ` marco atzeri
2011-05-10 9:11 ` Corinna Vinschen
1 sibling, 0 replies; 3+ messages in thread
From: marco atzeri @ 2011-05-10 8:59 UTC (permalink / raw)
To: cygwin
On Tue, May 10, 2011 at 9:55 AM, 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 used to build the cygwin1.dll.
As you need a stand alone version you need to look at
http://sourceware.org/newlib/
>
> Please help me!
google is your friend ;-)
>
>
> best regards
> Xin
Marco
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help! How to find newlib?
2011-05-10 7:55 Help! How to find newlib? Xin Jin
2011-05-10 8:59 ` marco atzeri
@ 2011-05-10 9:11 ` Corinna Vinschen
1 sibling, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2011-05-10 9:11 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-10 9:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-10 7:55 Help! How to find newlib? Xin Jin
2011-05-10 8:59 ` marco atzeri
2011-05-10 9:11 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).