This is the mail archive of the newlib@sourceware.cygnus.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]