• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Compile error on Intel: {standard input}:4529:no such instruction: 'mulhw ìx, íx, êx'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Compile error on Intel: {standard input}:4529:no such instruction: 'mulhw ìx, íx, êx' (From: Luc Vandal <email@hidden>)

  • Prev by Date: Re: xcode 2.4.1 issue perhaps?
  • Next by Date: Re: Why are Xcode "updates" so friggin' big??
  • Previous by thread: Compile error on Intel: {standard input}:4529:no such instruction: 'mulhw ìx, íx, êx'
  • Next by thread: Bundle loader chicken-and-egg problem
  • Index(es):
    • Date
    • Thread