delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/23/12:36:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <4D8A214D.6090409@cwilson.fastmail.fm>
Date: Wed, 23 Mar 2011 12:35:25 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
Reply-To: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cyggfortran-3.dll broken ?
References: <AANLkTi=WaAY1HY2bZ2zKHHuCkpNE4oLCZ8cY1J=CV1Ma AT mail DOT gmail DOT com> <4D8A1775 DOT 5020601 AT gmail DOT com> <4D8A1BCD DOT 2080506 AT gmail DOT com> <AANLkTinGfQi2ad4yTbDydrzbURQATtTT4zVJWG01V5LS AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTinGfQi2ad4yTbDydrzbURQATtTT4zVJWG01V5LS@mail.gmail.com>
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

On 3/23/2011 12:19 PM, marco atzeri wrote:
> May be as they are now available from cygwin-1.7.8 ?

Oh, good point.  Is there a way to add export forwarding to the new
cygfortran-3.dll (but not the implib)?

That way, the old apps will still get (think they are getting) the
functions from the fortran dll, but newly compiled apps will use the
ones from cygwin1.dll directly.

I think it would just take a few statements in a .def file like

  carg   = CYGWIN1.carg
  cargf  = CYGWIN1.cargf
  ccos   = CYGWIN1.ccos

but I'm not sure...
http://msdn.microsoft.com/en-us/magazine/cc301808.aspx

And, of course, the process of building gcc runtime libraries is a
bit...opaque...so "adding blah to a .def file" may be harder than it
sounds.  And if you DO it this way, I'm pretty sure ld will go ahead and
create import entries in the .dll.a for them.

Or is it simply time to bump the DLL number for cygwin's gfortran runtime?

--
Chuck

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