site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com I'm sorry but I don't understand what you are asking to do. I thought you had two questions: - or - Now I have no clue what ha bon ho tu m.endiras tant, et les lapins ca pond des oeufs? -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 Mar 8, 2008, at 2:00 PM, mm w wrote: On Mar 8, 2008, at 12:34 PM, mm w wrote: 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. 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 ... -Dave -- -mmw _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. 2b) How do I determine from one process the architecture of another process Answer: use ps 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. On Sat, Mar 8, 2008 at 11:07 AM, David Elliott <dfe@tgwbd.org> wrote: On Sat, Mar 8, 2008 at 10:46 AM, David Elliott <dfe@tgwbd.org> wrote: + the question was not related to an app NO I could have SWORN though that somewhere the manpage did have that info. This email sent to site_archiver@lists.apple.com