cyggfortran-3.dll broken ?

Charles Wilson cygwin@cwilson.fastmail.fm
Wed Mar 23 16:36:00 GMT 2011


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



More information about the Cygwin mailing list