This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Uncompilable setup.exe... again
- From: "Max Bowsher" <maxb at ukf dot net>
- To: "Yann Crausaz" <yann_crausaz at bluemail dot ch>,<cygwin-apps at cygwin dot com>
- Date: Thu, 14 Nov 2002 15:22:08 -0000
- Subject: Re: Uncompilable setup.exe... again
- References: <3DB4C71F000E0B24@mss4n.bluewin.ch>
Yann Crausaz <yann_crausaz@bluemail.ch> wrote:
> Hello Mr Bowsher,
So formal! Max will do just fine :-)
> Here is is exactly what I've done so far :
> - as explained in http://sources.redhat.com/cygwin-apps/setup.html,
For gcc-2.95.3-5, an additonal override was required on the ./configure
command line.
Add CPPFLAGS=-I/usr/include/g++-3, to give:
./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
> I then installed gcc-3.2-1.tar.bz2 and
> gcc-mingw-3.2-20020817-1.tar.bz2
> (that I downloaded with the setup.exe program !!!).
You did _install_ them with the setup.exe program as well, yes?
> Then what I did was
> - get a clean version of setup dir
> - ./configure .... as above
> This time, the message was :
>
> checking for C++ compiler default output... configure: error: C++
> compiler cannot create executables
Sounds like gcc-mingw was not installed. More info would be found in
config.log, except...
> yann@G06DW07 /cygdrive/d/cvs_dir_setup/setup
> $ ls
The directory was empty!!! Really? I have absolutely no idea how that could
have happened.
> What I am doing wrong ? Should I update my Cygwin version too ?
Whilst seldom a bad idea to stay current with all packages that you have
installed, I don't see anything which _obviously_ points at this as a
problem.
Max.