Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Setting x86_64 architecture in Xcode

 
   Macintosh computer (Home) -> Programmer Help RSS
Next:  command line program in need of error message pop..  
Author Message
mhz

External


Since: Jun 18, 2005
Posts: 35



(Msg. 1) Posted: Thu Jan 24, 2008 4:43 pm
Post subject: Setting x86_64 architecture in Xcode
Archived from groups: comp>sys>mac>programmer>help (more info?)

It seem that the default architectures for a new project in Xcode 3.0 with Leopard is i386 (at least for my Mac mini Core 2 Duo).
I found a way to set the architectures to x86_64:

Select project name in "Groups & Files" and click "Info" icon
Select "Buuild" tab then double-click "Architectures" line.
In the panel select "64-bits" and unselect "32-bits".
Double-click "Valid Architectures", delete all except "x86_64"
Switch "Configuration" (Debug or Release) and do the same change.
Select "General" tab and click "Rebuild Code Sense Index" button
Return to the Project window and for each configuration (Debug or Release)
set x86_64 in "Set Active Architecture" of the Project menu.

Compile and Debug work fine except Debugger window don't show any Registers
(but command like "info reg r10" or "info all-reg" in Console window can be used...)

Please if you have any hint to fix the Registers problem let me know how...

 >> Stay informed about: Setting x86_64 architecture in Xcode 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Setting up Xcode for CGI - I am beginning to learn CGI via C & C++. I am having trouble setting up xcode to output as CGI, when defining a target or executable.... I am only given limited options... I'm not sure which one to select... Forgive my ignorance... if anyone can p...

Setting PRODUCT_NAME in XCode 3.0 - In the info.plist file there a line that reads: <string>${PRODUCT_NAME}</string> Where do I set the value for PRODUCT_NAME ? I've got a project that's giving the executable the wrong name and I need to reset it. Many thanks. Jim -...

Setting XCode compiler default - Hi I've got a problem with XCode 1.2. For compatibility reasons I installed gcc 2.9 together with XCode, but I want to use GCC 3.3 aus default compiler. The problem - GCC 2.9 has been set as default compiler and I can see no option to change this but ....

two assembler source with not same architecture in same pr.. - Is it possible ? By example one source ppc64 assembler and one source x86_64 assembler. Can I use pre-processor directive to call a function in one architecture and call an other function for the other architecture ? Any suggestion or web pointer will b...

XCode - help ! - Is it possible to build a PEF executable using XCODe ? ( any methods ) or is that ONLY Macho-o's could be developed using Xcode ?? <font color=purple> ;> rG.</font> -- macro --------------------------------------------------------...
   Macintosh computer (Home) -> Programmer Help All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]