From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Stojanovic, Marta" To: "'sourcenav@sources.redhat.com'" Subject: configure doesn't find cl Date: Thu, 20 Sep 2001 20:39:00 -0000 Message-id: <9258C238472FD411AA860004AC369AF90CE407E2@nrcmrdex1.imsb.nrc.ca> X-SW-Source: 2001-q3/msg00164.html Hi all ! I don't know what I'm doing wrong : I used to build SN without any problems on Win2000 using cygwin and MSVC6, but now when I'm trying configure again it gives the following message : ..... checking for gcc... (cached) gcc checking whether the C compiler (gcc -Z7 -Od ) works... no configure: error: installation or configuration problem: C compiler cannot creat e executables. Configure in /cygdrive/d/Marta/SN452build/db failed, exiting. It shouldn't be gcc there, it should find cl (I define both CC=cl and CFLAGS="-Z7 -Od" before starting configure). And yes, I ran VCVARS32.BAT to set MSVC env. variables ... I looked in configure.cache, no sign of cl (but : ac_cv_prog_gcc=${ac_cv_prog_gcc='yes'}). I checked the PATH, and played with it : cygwin puts /usr/local/bin, /usr/bin etc. before everything else, but I tried putting MSVC bin directory first, without succes. I even tried to give CC the full path to cl, still no succes. It worked fine before, so there must be something that I've changed, but I don't know what that can be. Any suggestions ? I'd really appreciate it. Thanks in advance. Kind regards, Marta.