newlib problems: host=i686-pc-cygwin32, target=m68k-coff

Chris Faylor
Thu Jun 15 10:27:00 GMT 2000

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
>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 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

newlib is available via CVS.  That is the best way to get changes
like this.  Check out .


More information about the Newlib mailing list