This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
Re: newlib problems: host=i686-pc-cygwin32, target=m68k-coff
- To: Serge Nikulin <nikulin at actsw dot amat dot com>
- Subject: Re: newlib problems: host=i686-pc-cygwin32, target=m68k-coff
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Thu, 15 Jun 2000 13:27:30 -0400
- Cc: newlib at sourceware dot cygnus dot com
- References: <000e01bfd6ec$cd0cd760$35758798@mis.amat.com>
- Reply-To: newlib at sourceware dot cygnus dot com
On Thu, Jun 15, 2000 at 10:11:52AM -0700, Serge Nikulin wrote:
>I'm trying to build newlib-1.8.2 on host=i686-pc-cygwin32 (Cygwin CD 1.0)
>my config is:
>bash ./configure --target=m68k-coff
>then
>make all
>
>somewhere in building process it reports:
>....
>y1f_vec.c ..linked
>yn_vec.c ..linked
>ynf_vec.c ..linked
>creating cache ./config.cache
>configure: error: can not find install-sh or install.sh in .. ./..
>....
>
>then proceeds until
>m68k-coff-gcc -O2 -g -I. -I./.. `if [ -d ./../../newlib ]; then
>echo -I./../../newlib/targ-include -I./../../newlib/libc/include;
>fi` -O2 -I. -I./.. -c -g -O2 -W -Wall -msoft-float ../lseek.c
>../lseek.c:16: errno.h: No such file or directory
>make[4]: *** [lseek.o] Error 1
It sounds like you are not configuring/building newlib in a separate
directory. That's a requirement for newlib.
>How to build it correctly? Also, Chris Faylor mentioned that
>"Cygwin-related newlib changes checked in" Where can I find latest
>snapshots of newlib? Cygwin's site has newlib-1.8.2 or earliest
>versions.
newlib is available via CVS. That is the best way to get changes
like this. Check out http://sourceware.cygnus.com/ .
cgf