On 6/5/12 12:50 PM, c. wrote:
> 
> On 5 Jun 2012, at 21:45, Olaf Till wrote:
> 
>> and pass them to mkoctfile in some packages. But this will not work
>> under these circumstances.
>>
>> What is to be done here?
> 
> What I do to build on my system is to configure with 
> 
> --with-blas="-Wl,-framework -Wl,Accelerate"
> 
> so that 
> 
> mkoctfile -p BLAS_LIBS
> 
> returns 
> 
> -Wl,-framework -Wl,Accelerate
> 
> and
> 
> mkoctfile `mkoctfile -p BLAS_LIBS`
> 
> works fine for me
> 
> c.

I do something pretty much the same in Fink's (non-atlas-based) Octave
packages:

--with-lapack=-Wl,-framework,Accelerate
--with-blas=-Wl,-framework,Accelerate

So it's not terribly problematic for downstream packagers to deal with.
 In terms of building Octave by hand on a Mac, it might be nice to
replace the use of "-framework foo" with "-Wl,-framework,foo"
everywhere, because the latter construction doesn't get mangled by GNU
libtool.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/2012/02/21/got-job/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to