On 6/5/12 7:11 AM, Jordi Gutiérrez Hermoso wrote:
> On 5 June 2012 09:49, Donald Derrick <donald.derr...@gmail.com> wrote:
>> I downloaded the code from the octave site and compiled it on my computer
>> directly using
>>
>> make
>> make check
>> sudo make install
>>
>> I had to run load a LOT of dependencies before this worked, but it was
>> necessary to get 2.6.2
> 
> Yeah, and it's still miscompiled. :-/
> 
> You're trying to pass compiler flags to mkoctfile. It doesn't accept
> compiler flags. It accepts a very small subset of flags that look like
> compiler flags, but the weird flags that McOS10 uses aren't accepted
> (why -framework Accelerate instead of -lAccelerate)?
> 

frameworks are directories, and contain headers as well as libraries.
Using -framework gives you the -I as well as the -l.

> An interesting further example of flag that mkoctfile should not
> accept is "-Wall", except it does due to a long-standing bug that we
> now have to keep around.
> 
> This is why homebrew, fink, and macports try to ease the process for you.
> 
> - Jordi G. H.
> 


-- 
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