This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Serious error compiling setup
- From: "Max Bowsher" <maxb at ukf dot net>
- To: <bkeener at thesoftwaresource dot com>,"cygwin-apps" <cygwin-apps at cygwin dot com>
- Date: Thu, 30 Jan 2003 01:40:28 -0000
- Subject: Re: Serious error compiling setup
- References: <VA.00000d16.01c60759@thesoftwaresource.com>
Brian Keener wrote:
> When I try to compile setup I get the following:
>
> + /usr/develop/src/cygwin-apps/setup/configure -C
> --enable-dependencies --disable-shared --host=i686-pc-mingw32
> --build=i686-pc-cygwin CC=gcc -mno-cygwin CXX=g++ -mno-cygwin
> CPPFLAGS=-I/usr/include/g++-3 --enable-maintainer-mode
Drop the CPPFLAGS bit, that dates back to gcc-2.95.3
> checking for C++ compiler default output... configure: error: C++
> compiler cannot create executables
gcc-mingw package?
> check `config.log' for details.
Well?
> In addition to the above I also receive while compiling setup a
> dialog box titled 16bit MS-DOS SubSystem with the message:
> g++
> The NTVDM CPU has encountered an illegal instruction.
> CS:067f IP:017d OP:ff ff 75 13 8b CHoose 'Close' to terminate the
> application.
DJGPP?
> Having failed with setup I decided to try to compile cygwin I there I
> get the following error:
>
> + /usr/develop/src/configure --enable-debugging --build=i686=pc-cygwin
> --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr
> --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include
> configure: error: cannot run /bin/bash /usr/develop/src/config.sub
How about some elementary troubleshooting of the error?
Like: Does it exist, check permissions?
Max.