Hi Peter, I will test your patch, thanks. Just a quick answer: nagfor -V results in: NAG Fortran Compiler Release 5.2(747) Product NPMI652NA for Apple Intel Mac OSX 64-bit Copyright 1990-2010 The Numerical Algorithms Group Ltd., Oxford, U.K.
Cheers, JR On 5 Mar 2011, at 17:24, Peter O'Gorman wrote: > Hi Jürgen, > > Does the attached patch work for you? I think it -Wl, quotes everything > necessary. Note that I hardcode -Wl, rather than ${wl} because some of the > options are supposed to be gcc options rather than ld ones (though ld > recently accepts them too, so it's not a big deal either way). > > Ralf suggested using $CC -v to identify compilers, rather than $cc_basename, > and this makes sense to me, what does nagfor -V say? > > Thanks, > Peter > <nagfor1.patch>