Re: Mac OS X Snow Leopard and 64-bit applications
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:subject :mime-version:date:references:x-mailer; bh=rlQByjyMOYtCTdA5l46zz8mOAr1RVMYbpVU1ZLBSlrw=; b=Jfq6AyZwamT3Sw7PCogQqplR7hFLzIx0J26k/8OMsPJtPC4HHUM5m7/BcyK+JkxdpS OpP8/jjcUBHrgxWooeanhJqPAEYAML+xPk+1PTuSH7ozh6aoZTbc+LLN1wQRsu2lEfSz j+jlPP917vUrX21ffzrobZhqRc4MwGwMoFlmw= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:subject:mime-version:date:references :x-mailer; b=owKJulV6hrfGBiJDl7U5aI+IvXFF9vw/UdS5ATfDfqRJ1p9S2Z/luK/WWY8KR53vio HKIFnC0wJQUgTWQfl9HVGFLu4Qu9CJDDWBGgLQ7Ell56rdypVnnbbLLB9PDHkoMjHzDy 08y83V5GaUbeyULFpPTXVblLHaZpZrt+ozRps= On Aug 29, 2009, at 12:00 AM, rohan a wrote: Thanks... #gcc -arch x86_64 -o prg prg.c or just #gcc -o prg prg.c would give me a 64-bit binary ? Eli. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... However, would it require using the -arch option to generate 64-bit binaries ? thanks Again, a minimal amount of effort on your part would tell you the answer. Try compiling something with the various options, and look at the result, say with the 'lipo' cli tool. Most likely, you will need to include the -arch specifier if you want to compile for any other CPU architecture besides the one you are currently using. And depending on various other settings, you may be able to get gcc to compile multiple architectures at once, if needed, instead of building each architecture individually, then lipo'ing the results together at the end. This email sent to site_archiver@lists.apple.com
participants (1)
-
Eli Bach