On Jun 15, 2006, at 12:35 PM, Dan Bogdanov wrote:
> -march=i686 (and all -march=ix86) create the "unknown instruction"
> errors. I don't know what should be used... If I skip the argument,
> everything works.

Hmm, Frank added this fragment to configure.ac in April:

         AS_IF([test $host_vendor = apple],
             [# Work around issue on intel macs, where "-fpmath=sse"  
is on by
              # default, but this breaks compilation when combined with
              # the "-march=i586" selected below. So the "minimum"  
optimization
              # on x86 Apples is -march=i686.
             CS_CHECK_CODE_GEN_FLAG([[*[3-9]86]], [-march=i686])])

The comment seem to say that, at the time, -march=i686 was  
acceptable, but -march=i586 was not.  Based upon your experience,  
this no longer seems to be the case.

I'm not quite sure what a good solution would be. We could disable  
the automated -march=foo check entirely for Apple, I suppose.

-- ES



_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to