|
|
wilson schrieb:
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../source -I../../unix
> -I/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include -pipe -Wno-multichar -O3
> -march=i686 -mtune=i686 -minline-all-stringops -c -o fileinputoutput.o `test -f
> 'fileinputoutput.cpp' || echo './'`fileinputoutput.cpp
> fileinputoutput.cpp:1: error: CPU you selected does not support x86-64
> instruction set
> make[3]: *** [fileinputoutput.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> The cpu I am running is i686 (apple-darwin10.2.0 system type). Do I understand
> this error to mean that it is not possible to build povray on this platform?
> Best regards,
> Mark
It /should/ build fine on your system. But somehow the configure script
seems to have detected a 32-bit ("i686", that is Pentium II or later)
CPU, while the compiler for some reasons appears to insist that you must
build for a 64-bit CPU ("x86-64"). (While AMD64-compatible CPUs, aka
x86-64, are perfectly capable of running 32-bit applications, some
operating systems aren't.)
Are you sure your CPU is "only" a 32-bit CPU? In that case, your build
system must be pretty whacky.
OTOH, if your CPU /is/ a 64-bit CPU, then it remains to be examined why
the configure script decided to compile for i686 instead of x86-64.
I'll have a look at the config.log of my own 3.6 build on my Linux
machine and check. Maybe the configure script is generally unable to
detect 64-bit CPUs, and it built for i686 on my machine as well, without
me noticing because my Linux distribution happens to support 32-bit
applications.
Post a reply to this message
|
|