This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Uncompilable setup.exe... again


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.


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