-----Original Message----- 
From: Karl Glazebrook
Sent: Monday, November 16, 2015 1:32 PM
To: Chris Marshall
Cc: pdl-devel ; sisyph...@optusnet.com.au
Subject: Re: [Pdl-devel] ExtUtils:F77 new version 1.18 for testing

> Hi Rob
>
> Can you help with this? Ideally a patch
>
> I was wondering how universal these gfortran libs were…. if we don’t 
> include them then will get runtime errors on OS X etc. I was hoping it 
> would be the same across all gfortran architectures.

Is it possible to just specify *all* of the possible libraries that might be 
needed, skip the validation, and leave it to EU::MM to automatically remove 
the ones that don't exist ?
I think this is what we did for Windows in EU-F77-1.18 wrt "-lquadmath" - we 
just hard-coded it in without caring whether it's going to be found or not. 
If it's not located at the 'perl Makefile.PL' stage then MakeMaker just 
removes it, there's no attempt to link to it during 'make' and everything 
goes fine.
We're assuming that if libquadmath isn't found by default, then it's not 
needed. Are you at liberty to take the same approach ?  .... Perhaps not.

Alternatively, I guess some code (using EU::MM for example) could be run to 
pre-determine which of a list of candidate libraries is locatable. Following 
that (or as part of that process), the list is amended accordingly and 
*then* the validation is run.

> Does anyone know an automatic way to spit out a library link list?
>
> Failing that I could special case the existence test for these extra libs.
>
> BTW is anyone using a compiler these days with perl extensions that ISN’T 
> gfortran? I wonder if we are trying too hard.

The absence of gfortran would, afaik, imply gcc-3.x.x or earlier. That seems 
fairly unlikely, and I think it's a fair bet that there's no-one wanting to 
use EU-F77 with such an old version of gcc ... but that's not exactly a 
guarantee ;-)

Cheers,
Rob




------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to