<div dir="ltr"><div>Thanks Stefan. One more question - while running the configuration script I get the following error</div>
<div> </div>
<div>$ ./configure -enable-doscompile=msvc<br>./configure: line 20: $'\r': command not found<br>./configure: line 28: syntax error near unexpected token `elif'<br>./configure: line 28: `elif test -n "${BASH_VERSION+set}" && (set -o posix) >/de<br>
'/null 2>&1; then</div>
<div> </div>
<div>-- Nandini<br><br></div>
<div class="gmail_quote">On Wed, Aug 20, 2008 at 12:29 PM, Stefan Vigerske <span dir="ltr"><<a href="mailto:stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="Wj3C7c">Hi,<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> I was trying to set up the enviroment variables to use the Intel and Fortran compilers in the cygwin.bat. But it doesn't seem to work - the commands cl or ifort cannot be found. My batch file now looks like<br>
@echo off<br>C:<br>chdir C:\cygwin\bin<br>bash --login -i<br>call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"<br>call "C:\Program Files\Intel\Compiler\Fortran\10.1.021\IA32\Bin\ifortvars.bat"<br>
Any idea where I may be going wrong?<br></blockquote><br></div></div>Move the last two call lines above the call of bash.<br><br>Stefan<br><font color="#888888"><br>-- <br>Stefan Vigerske<br>Humboldt University Berlin, Numerical Mathematics<br>
<a href="http://www.math.hu-berlin.de/~stefan" target="_blank">http://www.math.hu-berlin.de/~stefan</a><br></font></blockquote></div><br></div>