Re: Compile error on Intel: {standard input}:4529:no such instruction: 'mulhw ìx, íx, êx'
Re: Compile error on Intel: {standard input}:4529:no such instruction: 'mulhw ìx, íx, êx'
- Subject: Re: Compile error on Intel: {standard input}:4529:no such instruction: 'mulhw ìx, íx, êx'
- From: Eric Albert <email@hidden>
- Date: Wed, 1 Nov 2006 20:57:04 -0800
On Nov 1, 2006, at 8:31 PM, Luc Vandal wrote: I'm trying to compile a projet that does just fine on PPC. But when I try to compile for Intel as a target, some files will throw multiple errors such as:
{standard input}:4529:no such instruction: 'mulhw ìx, íx, êx' ... ... Command /usr/bin/gcc-4.0 failed with exit code 1
I really don't understand what is t know where to start to look at. The code is cross-platform and we use that code on our application that runs on Windows.
mulhw is a PowerPC instruction. It's rather unlikely to work when you're building for Intel. :)
Try searching for 'mulhw' in your source code and seeing which code path gets compiled for Windows in that case. That's the code path you probably want to use for Intel-based Macs.
Hope this helps, Eric |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden