[Mono-list] Error building mono - configure: error: C compiler cannot create executables

Sharma, Satie SaSharma@thexchange.com
Tue, 16 Mar 2004 11:36:16 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C40B74.CD718FCB
Content-Type: text/plain;
	charset="iso-8859-1"

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.

------_=_NextPart_001_01C40B74.CD718FCB
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Error building mono - configure: error: C compiler cannot create =
executables</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">I'm trying to build mono on cygwin, =
and I get the following error when mono-build-w32.sh executes =
autogen.sh </FONT>
</P>

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

<P><FONT SIZE=3D2 FACE=3D"Arial">I am a newbie and would appreciate any =
and all help.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I've checked my cygwin installation =
for gcc and mingw-runtime, and both are present.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">What could I be doing wrong?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Satie.</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C40B74.CD718FCB--