Re: AULab doesn't load AU when debugging
Re: AULab doesn't load AU when debugging
- Subject: Re: AULab doesn't load AU when debugging
- From: William Stewart <email@hidden>
- Date: Fri, 3 Apr 2009 19:09:16 -0700
There's also an option in the Finder's about / info window that allows
you to set preferred arch (32 or 64 bit)
Bill
On Apr 3, 2009, at 12:41 PM, Ian Kemmish wrote:
On 3 Apr 2009, at 13:19, jaime valenzuela <email@hidden>
wrote:
My AU doesn't get loaded by AU Lab when debugging. However, when I
launch AU Lab on its own, my AU gets loaded fine and I can use it.
I've discovered that when an executable contains both i386 and
x86_64 code, the rules for deciding which to execute don't seem to
be quite as simple as those stated on the man page for arch.
In particular, if Finder decides to run AU Lab as 64 bit code, and
gdb decides to run it as 32 bit code (which it definitely prefers,
especially if you're running it from within Xcode and have
breakponts set), and your AU doesn't contain both types, then AU Lab
will see your AU in one case but not in the other.
I'm not saying this _is_ the cause of your problem, merely that it's
one thing you might decide to check.
Note that you can use /usr/bin/arch from a terminal window to force
Mac OS to run one particular flavour of code from a universal
executable. You can also use /usr/bin/lipo to create a 32 bit only,
or a 64 bit only, or a PowerPC only, version of AU Lab for more
specific testing.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
Ian Kemmish 18 Durham Close, Biggleswade, Beds
SG18 8HZ
email@hidden Tel: +44 1767 601361 Mob: +44 7952
854387
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden