Re: dyld 2 questions
Re: dyld 2 questions
- Subject: Re: dyld 2 questions
- From: David Elliott <email@hidden>
- Date: Sat, 8 Mar 2008 14:27:53 -0500
I'm sorry but I don't understand what you are asking to do.
I thought you had two questions:
1) How do I force a given fat program to run with a specific
architecture?
Answer: run it with arch -arch_name /path/to/my/program
2a) How do I determine the architecture my program is running on
Answer: Use a preprocessor definition since you know at compile time
which architecture will be running.
- or -
2b) How do I determine from one process the architecture of another
process
Answer: use ps
Now I have no clue what
ha bon ho tu m.endiras tant, et les lapins ca pond des oeufs?
is supposed to mean. Sorry my french is a little rusty. I get that
the second half of the sentence is probably an idiom (and the rabbits
lay eggs) but the first half is beyond me. I'm guessing it's not
endearing.
And anyway, to explain myself further, what I thought was funny was
that Terry thought you had already answered your own question (2a) and
so gave a rather flippant answer. I'm going to assume that he missed
the fact that you were unnecessarily using your own preprocessor
definition when the compiler provides you one. But now I'm not
laughing because I did answer your questions, assuming 1 and 2a were
your questions, and you seem not to realize I did.
-Dave
On Mar 8, 2008, at 2:09 PM, mm w wrote:
sorry David but it's really far away from my question,
I know well everything what you said but it's not my question
sorry thank you anyway
On Sat, Mar 8, 2008 at 11:07 AM, David Elliott <email@hidden> wrote:
On Mar 8, 2008, at 2:00 PM, mm w wrote:
On Sat, Mar 8, 2008 at 10:46 AM, David Elliott <email@hidden>
wrote:
On Mar 8, 2008, at 12:34 PM, mm w wrote:
+ the question was not related to an app
Yes, which is why Terry told you to man arch. RTFM and you'll
clearly
get the answer about how you can force the OS to run a particular
architecture.
NO
Oops. So I finally RTFM myself and find indeed it isn't the case..
file a bug.
Use it like this:
arch -i386 ls
arch -ppc ls
... etc ...
I could have SWORN though that somewhere the manpage did have that
info.
-Dave
--
-mmw
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden