This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: trouble cross compiling newlib (1.9.0) from linux to cygwin
- To: newlib at sources dot redhat dot com
- Subject: Re: trouble cross compiling newlib (1.9.0) from linux to cygwin
- From: Simon Brenner <simon dot brenner at home dot se>
- Date: Thu, 23 Aug 2001 22:21:40 +0200
- References: <3B85564F.9060605@home.se> <3B85610B.7FD0358F@yahoo.com>
What is winsup? and what is the cvs head?
(I understand zero ;-)
Anyway, I removed the include-line and it compiled, so i'm happy so far ;-)
Earnie Boyd wrote:
>Simon Brenner wrote:
>
>>I configured newlib like this:
>>
>>mkdir build
>>cd build
>>../newlib-1.9.0/configure --target=i386-cygwin32
>>make all install
>>
>
>Why would you want to do this? Newlib without winsup isn't going to be
>useful AFAIK.
>
>>after successfully building and installing binutils-2.11.2 and gcc 3.0.1
>>bootstrap compiler (--without-headers --with-newlib) also for
>>i386-cygwin32 target.
>>
>>I get this error message while compiling newlib/libc/reent/timer.c:
>>
>>In file included from newlib/libc/reent/timer.c:9:
>>newlib/libc/include/sys/time.h:27:24: sys/select.h: The file or folder
>>does not exist
>>
>>make: Leaving dir: newlib/libc/reent
>>make: Leaving dir: newlib/libc
>>make: Leaving dir: newlib
>>
>>I looked into sys/time.h and saw that the directive to include
>>sys/select.h was surrounded by #ifdef CYGWIN
>>Is this file specific to the cygwin target, and why does it not exist?
>>
>>Thanks in advance
>>
>>// Simon Brenner
>>
>
>You probably need to use the CVS head.
>
>Earnie.
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>