From: corinna DOT vinschen AT cityweb DOT de (Corinna Vinschen) Subject: Re: make b20alpha 28 Sep 1998 13:16:15 -0700 Message-ID: <360FEC25.8BEC0B6E.cygnus.cygwin32.developers@cityweb.de> References: <360E9936 DOT 7DF49B0C AT cityweb DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Christopher Faylor , cygwin32-developers AT cygnus DOT com Christopher Faylor wrote: > This seems to work around the problem (in the newlib directory): > > ./configure -v --build=i386-pc-cygwin32 --srcdir=`pwd` > Report of experience: The following happened: -------- snip ---------- /src/cdkb20/newlib[2]$ ./configure -v --build=i386-pc-cygwin32 --srcdir=`pwd` loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking build system type... i386-pc-cygwin32 checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for Cygwin32 environment... yes checking for Mingw32 environment... no checking host system type... i586-pc-cygwin32 configure: error: source directory already configured; run make distclean there first /src/cdkb20/newlib[3]$ make distclean make: *** No rule to make target `.././configure.host', needed by `config.status'. Stop. -------- snip ---------- This command before configure did it: /src/cdkb20/newlib[7]$ find . -name config.status -exec rm '{}' \; Now, the following message appeared while running `make' in newlib: -------- snip ---------- .... ar ../libc.a *.o ar: illegal option -- . Usage: ar [-]{dmpqrtx}[abcilosuvV] [member-name] archive-file file... ar -M [tmp-params.h In file included from \src\cdkb20\gcc\include\syslimits.h:7, from \src\cdkb20\gcc\include\limits.h:11, from dummy.c:12: \src\cdkb20\gcc\include\limits.h:117: limits.h: No such file or directory gen-params: could not invoke /src/cdkb20/gcc/xgcc -B/src/cdkb20/gcc/ -idirafter /src/cdkb20/i386-pc-cygwin32/newlib/targ-include -idirafter /src/cdkb20/newlib/l ibc/include -nostdinc -I. -I. -I./../winsup/include -E on dummy.c make[1]: *** [_G_config.h] Error 1 make: *** [all-target-libio] Error 2 -------- snip ---------- Bingo! I haven't understood this. winsup/include is in the search path and it contains a limits.h. Any suggestion? Corinna