Title: Error building mono - configure: error: C compiler cannot create executables

I'm trying to build mono on cygwin, and I get the following error when mono-build-w32.sh executes autogen.sh

Running automake --gnu  ...
Running autoconf ...
Running libgc/autogen.sh ...
Running aclocal  ...
Running automake --gnu  ...
Running autoconf ...
Skipping configure process.
Done running libgc/autogen.sh ...
Running ./configure --enable-maintainer-mode --enable-compile-warnings --prefix=d:/cygwin/mono/install ...
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking host platform characteristics... ok
checking for gcc... gcc -mno-cygwin
checking for gcc... (cached) gcc -mno-cygwin
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

I am a newbie and would appreciate any and all help.
I've checked my cygwin installation for gcc and mingw-runtime, and both are present.
What could I be doing wrong?

Thanks,
Satie.

Reply via email to