From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31364 invoked by alias); 4 Oct 2013 04:32:19 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31349 invoked by uid 89); 4 Oct 2013 04:32:18 -0000 Received: from mx1.securemx.biz (HELO mx1.securemx.biz) (203.84.134.2) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 04 Oct 2013 04:32:18 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.2 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.2 X-HELO: mx1.securemx.biz Received: from blizzard.niwa.co.nz ([202.36.29.5]) by omr.securemx.biz with ESMTP (using TLSv1 with cipher AES256-SHA (256/256 bits)) id 524E44CD-A13104C6@mta1103.omr; Fri, 04 Oct 2013 04:32:14 +0000 Received: from welwexcas01.niwa.local (welwexcas01.niwa.co.nz [192.168.59.240]) by blizzard.niwa.co.nz (8.14.3/8.14.3) with ESMTP id r944WBS1023441 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Fri, 4 Oct 2013 17:32:11 +1300 Received: from WELWEXMB01.niwa.local ([fe80::601e:268f:d083:20e0]) by welwexcas01.niwa.local ([fe80::f1b1:8ae5:2dc:2795%14]) with mapi id 14.03.0158.001; Fri, 4 Oct 2013 17:32:11 +1300 From: Mark Hadfield To: Cygwin Mailing List Subject: RE: Incorrect module file format in Fortran netCDF package Date: Fri, 04 Oct 2013 04:32:00 -0000 Message-ID: References: In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2013-10/txt/msg00027.txt.bz2 There's a second issue. In the output of "/usr/bin/nf-config --all" (below)= a -no-undefined option is printed. This is not a valid option for gfortran. With these two issues fixed I can compile and link Fortran 90 programs that= use the netCDF Fortran interface. --------------------------------------------- $ /usr/bin/nf-config --all This netCDF-Fortran 4.2 has been built with the following features: --cc -> gcc --cflags -> -I/usr/include --libs -> -L/usr/lib -no-undefined -lnetcdf -lnetcdf --fc -> gfortran --fflags -> -g -O2 -pipe -I/usr/include --flibs -> -L/usr/lib -lnetcdff -no-undefined -lnetcdf -lnetcdf --has-f90 -> yes --has-nc2 -> yes --has-nc4 -> yes --prefix -> /usr --includedir-> /usr/include --version -> netCDF-Fortran 4.2 Dr Mark Hadfield Scientist, Marine Physics NIWA 301 Evans Bay Parade Private Bag 14 901 Wellington, New Zealand Tel: +64 4 386 0363 www.niwa.co.nz NIWA - Enhancing the benefit of New Zealand's natural resources. -- Please consider the environment before printing this email. NIWA is the trading name of the National Institute of Water & Atmospheric R= esearch Ltd. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple