-----Original Message----- 
From: Luis Mochan
Sent: Tuesday, January 26, 2016 10:49 AM
To: perldl
Subject: Re: [Pdl-general] MB::Pluggable::Fortran


>>> Does anyone knows why is the behavior different when linking by hand and 
>>> when running ./Build?
>>
>> Strange .... all I can think of is that they are (somehow) running in 
>> different environments, or the input file had changed, or the ./Build 
>> process subsequently did something to strip off the required suffix in 
>> the shared library.
>> Otherwise I can see no reason for such a difference.
>
> Well, I ran the commands perl Build.PL, ./Build, ./Build install, 
> perl -e..., cc..., ./Build install perl -e... one after the other in the 
> same terminal, in the same session, so the starting environment must have 
> been the same for all the commands.

Yes, I was more thinking that ./Build was doing something to alter that 
environment in some way that would account for the difference - eg used a 
different 'cc'.
Did the ./Build process take any action on blib/arch/auto/Routine/Routine.so 
after it was created ? (If it did, then I would expect that the "action" 
would be mentioned in the ./Build output.)
Did "./Build install" take any action on Routine.so apart from installing it 
? (If so then that action should have been mentioned in the "./Build 
install" output.)

> It's as if 'extra_linker_flags', which I verified were correctly set by 
> MB::Pluggable::Fortran,  were used for the message but not for the actual 
> compilation during the ./Build.

If ./Build is claiming to run a certain command while it is, in fact, 
running a different command then that would be a very serious bug in 
Module::Build and/or MB::Pluggable::Fortran.
Such misleading behaviour should not even be possible.

Cheers,
Rob



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to