Andrew Rohl wrote:
[]
> However the lines:
> 
>> checking for C compiler default output... configure: error: C compiler
>> cannot create executables
> 
> are a worry - sounds like configure tried to use the gcc compiler to  
> create a executable to do a simple test and it failed...

To elaborate on Jack's bug fix:

Povray's configure script tries to find out which processor is used for 
compilation and then to set the optimize bits correspondingly. On 
Mac/x86_64, it doesn't really know what to do, so it uses the default i686:

> On 18/07/2009, at 8:14 PM, Alan wrote:
[]
>> configure:2125: gcc  -pipe -O3 -march=i686 -mtune=i686

upon which the compiler says:

>> conftest.c:1: error: CPU you selected does not support x86-64  
>> instruction set

Jack's patch has the effect of replacing '-march=i686 -mtune=i686' by 
'-march=k8 -mtune=k8'. Whether this is optimal, I don't know, but it 
works nicely and the compiler is happy.

-- 
Martin





------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to