[SciPy-user] scipy OS X compiling on a G3

Bob Ippolito bob at redivi.com
Tue Feb 10 08:26:24 CST 2004


On Feb 10, 2004, at 8:12 AM, Pearu Peterson wrote:

>
>
> On Mon, 9 Feb 2004, Bob Ippolito wrote:
>
>>
>> On Feb 9, 2004, at 3:23 PM, Christopher Fonnesbeck wrote:
>>
>>>
>>> On Feb 9, 2004, at 3:07 PM, Pearu Peterson wrote:
>>>
>>>> So, could you confirm that the following approach is correct:
>>>>
>>>> if os.path.exists('/System/Library/Frameworks/vecLib.framework/'):
>>>>   # use the following compiler flags:
>>>>   #  -faltivec -framework vecLib
>>>>   # and no additional libraries need to be specified when linking.
>>>
>>> I see no reason why that shouldn't work ...
>>
>> If you don't have developer tools installed, you probably don't have a
>> compiler anyway.
>>
>> You should link to Accelerate.framework if it exists, and  vecLib
>> otherwise.
>
> As you may have noticed then I am ignorant what comes to OS X. So, how
> your last remark applies to my suggestion? Is the following correct:
>
> if os.path.exists('/System/Library/Frameworks/Accelerate.framework/'):
>    # use the following compiler flags:
>    #  -faltivec -framework Accelerate
>    # and no additional libraries need to be specified when linking.
> elif os.path.exists('/System/Library/Frameworks/vecLib.framework/'):
>    # use the following compiler flags:
>    #  -faltivec -framework vecLib
>    # and no additional libraries need to be specified when linking.
> ?

That is correct as far as I know.

-bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2357 bytes
Desc: not available
Url : http://www.scipy.net/pipermail/scipy-user/attachments/20040210/b1d5122f/smime-0001.bin


More information about the SciPy-user mailing list