delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/04/05:57:15

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=AO05O7nwa8VBcz0FJPjgLnspIjhlFt/sq9dpdG7JJsd
rODCdEoiolH8swVqkVKYqytapWaUzuNF094G/LpqrwCf7PeKGLcGmX6Fk5OAVFAG
X4ap7u5KnmNRBouI86jhW7ucAGRWarBD7sKzHJTKG6MErOxLRItvFVfBxfFWfdfs
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=EXSnJHkKUKaDUWkOgKVw6iBZSpk=; b=bLiZkei8l4ER3YxNA
jD6A2vrdAxe3afX34lJ1N88IOMNAD8FJJNHuoqLthzYnEj5OL/oNo9jy/rGh5bjd
QCoI4eUccCNHT19ei1ytBuF6BBnEyTX4gKFfy+GrgikHJmbrfi6Cr01Fzs6ysN9x
yyLyS46g8c5HDmiE8WOZT1G1js=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,FREEMAIL_FROM autolearn=ham version=3.3.2
X-HELO: mail-bk0-f52.google.com
X-Received: by 10.204.123.199 with SMTP id q7mr12351240bkr.10.1380880617162; Fri, 04 Oct 2013 02:56:57 -0700 (PDT)
Message-ID: <524E90E4.80207@gmail.com>
Date: Fri, 04 Oct 2013 11:56:52 +0200
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Incorrect module file format in Fortran netCDF package
References: <A4BDD8E3859F92478F09D5AACD6D79C0956EEFB9 AT welwexmb01 DOT niwa DOT local> <A4BDD8E3859F92478F09D5AACD6D79C0956EF060 AT welwexmb01 DOT niwa DOT local> <524E82DC DOT 6080103 AT gmail DOT com>
In-Reply-To: <524E82DC.6080103@gmail.com>
X-IsSubscribed: yes

Il 10/4/2013 10:57 AM, marco atzeri ha scritto:
> Il 10/4/2013 6:32 AM, Mark Hadfield ha scritto:
>> 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
>
> Noted.
> I will rebuild the package reusing the configuration used on
> cygwin 64 bit package.
>
>
> $ /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  -lnetcdf -lnetcdf
>
>    --fc        -> gfortran
>    --fflags    -> -ggdb -O2 -pipe
> -fdebug-prefix-map=/pub/devel/netcdf/netcdf-fortran-4.2-2/build=/usr/src/debug/netcdf-fortran-4.2-2
> -fdebug-prefix-map=/pub/devel/netcdf/netcdf-fortran-4.2-2/src/netcdf-fortran-4.2=/usr/src/debug/netcdf-fortran-4.2-2
> -I/usr/include
>    --flibs     -> -L/usr/lib -lnetcdff  -lnetcdf -lnetcdf
>    --has-f90   -> yes
>
>    --has-nc2   -> yes
>    --has-nc4   -> yes
>
>    --prefix    -> /usr
>    --includedir-> /usr/include
>    --version   -> netCDF-Fortran 4.2
>
>
> Regards
> Marco
>
>


4.2-3 uploaded


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019