<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>[Note to Dennis, Andrey is not subscribed to ncl-install.]</div><div><br></div><div>I do not have a Cygwin binary ready for 5.2.0 yet. Maybe by tomorrow, if anybody needs to try it.</div><div><br></div><div>I'm hoping to release beta binaries for MacOS, Linux, and AIX systems soon. They are all ready to</div><div>go, but the system we have them hosted on has been dying unexpectedly.</div><div><br></div><div>I think you can fix your problem by simply enclosing that line in single quotes:<br><br>&nbsp;&nbsp;#define CtoFLibraries '-L/lib/gcc/i686-pc-cygwin/3.4.4 -lg2c -lm'<br><br>Is there a reason you need to build NCL from source for Cygwin? Cygwin is the hardest system to<br>build any software on. We have a precompiled binary for Cygwin.<br><br>--Mary</div><div><br>On Mar 24, 2010, at 6:08 AM, Dennis Shea wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Maybe he should try the beta 5.2.0?<br>D<br><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Andrey Leskin &lt;<a href="mailto:aleskin@scanex.ru">aleskin@scanex.ru</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">March 24, 2010 5:08:13 AM MDT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;">"<a href="mailto:ncladmin@ucar.edu">ncladmin@ucar.edu</a>" &lt;<a href="mailto:ncladmin@ucar.edu">ncladmin@ucar.edu</a>&gt;, "<a href="mailto:shea@ucar.edu">shea@ucar.edu</a>" &lt;<a href="mailto:shea@ucar.edu">shea@ucar.edu</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Install issue for CygWIN.</b><br></span></div><br><br>Good day!<br><br>I'm trying to build NCL 5.1.1 from source code. I have a WinXP SP2 machine with CygWin 1.7.1 installed on it.<br><br>Here's an issue, I've found during installation process. I'm installing NCL without support of any additional libraries like GRIB2, etc.<br>I'm unpacking sources to my sources location. At this step there is no makefiles nowhere (and it shouldn't be). After that I'm editing CYGWIN config file at $NCARG/config to apply my changes fo C &nbsp;to Fortran libraries. So I change<br>#define CtoFLibraries &nbsp;&nbsp;-lg2c -lm<br>to<br>#define CtoFLibraries -L/lib/gcc/i686-pc-cygwin/3.4.4 -lg2c -lm<br><br>At this step everything seems to be ok. After that I run commands to check if my system is recognized by NCL build environment.<br>So I run the following commands:<br><br>cd $NCARG/config<br>make -f Makefile.ini<br>./ymake -config `pwd`<br><br>These commands doesn't produce no output, so everything seems to be ok. But if I take a look at makefile file, created, I see that<br>CtoFLibraries defined variable differs from what I used.<br><br>CTOFLIBS = -L/lib/gcc/1-pc-cygwin/3.4.4 lg2c -lm<br><br>I have no idea where this "1-pc-cygwin" appeared.<br>After running configure script, each makefile created has the same CTOFLIBS variable.<br>Unfortunately, with fatal errors for the linker, which can't recognise -lg2c key.<br><br>Could you provide me a solution for this problem? I checked all the files for "1-pc-cygwin" in your source code, but found none. So it's some kind of magic for me at the moment.<br><br>Best regards,<br> &nbsp;&nbsp;Andrey Leskin<br> &nbsp;&nbsp;Software Developer<br>____________________________________________<br><br>RDC ScanEx<br>Department of Software Development<br>5/22 Rossolimo Street, Moscow, 119021, Russia<br><br>Web: &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.ScanEx.com">www.ScanEx.com</a><br>E-Mail: &nbsp;<a href="mailto:aleskin@scanex.ru">aleskin@scanex.ru</a><br>Phone: &nbsp;+7 (495) 739-73-85<br><br>_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></blockquote></div><br></body></html>