Re: Leopard cannot execute binary file
Re: Leopard cannot execute binary file
- Subject: Re: Leopard cannot execute binary file
- From: "Ioannis Pantazopoulos" <email@hidden>
- Date: Thu, 13 Dec 2007 15:08:10 +0200
- Organization: NTUA
I will check otool -l and try Xcode 2.5 and see if this fixes the problem.
Thank you very much!!! :)
Sorry for not seeing this earlier. I actually know the answer to this
one :) (even though it's not an X11 problem)
hi all,
I need help on Leopard incompatibility with my Tiger builts.
I use Xcode 2.1 to build an X11 application on MacOSX Tiger
(10.4.1). Although the application runs on both Intel/PPC
for Tiger installations, it does not run on Leopard.
When clicking on the application the following message appears:
"cannnot execute binary file"
and nothing happens.
You are using beta development tools from the x86 transition, and your
resulting binary has an incompatible thread flavor.
Try running otool -l (that is a lowercase 'L') on your binary, and look
for LC_UNIXTHREAD. On a normal binary, you will see:
cmd LC_UNIXTHREAD
cmdsize 80
flavor i386_THREAD_STATE
count i386_THREAD_STATE_COUNT
I would bet money that instead you will see:
cmd LC_UNIXTHREAD
cmdsize 80
flavor 4294967295 (unknown)
You need to rebuild with a later version of Xcode -- I believe this was
fixed as far back as Xcode 2.2, but you should upgrade to the newest
version possible.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden