PDA

View Full Version : XCode: Compiler Output and Configuration




BadRambo
Aug 24, 2006, 05:04 PM
Hello All ----

New to the Xcode interface and my Mac Pro.
I don't have a third party book on it yet, and was wondering if the IDE has a section for "compiler options"...my first few brief passes through the IDE did not show me any option panel for the compiler. Possibly it is just a default configuration.

Any help from Xcode vets out there -- 32 or 64 bit on the Mac Pro ??? I installed Xcode from my OS disks.

Many Thanks --- Bob -- ;)



kpua
Aug 24, 2006, 06:15 PM
In the side panel you'll see the "targets" for your project. Double click on the target for your project (or, I think, you can select "Configure Active Target" or something from the project menu) and you'll get a panel that you can edit all the many compiler options.

BadRambo
Aug 24, 2006, 08:42 PM
In the side panel you'll see the "targets" for your project. Double click on the target for your project (or, I think, you can select "Configure Active Target" or something from the project menu) and you'll get a panel that you can edit all the many compiler options.
-------
Hiya kpua ----

Well I tried your suggestions. And still cannot find anything resembling compiler options. Maybe it is the one big eye in the middle of my forehead --- :D
I did locate some other interesting info, that in Tiger, the command line interface is 64-bit, while the API is still 32-bit. That will go away in Leopard, in which they will BOTH be 64-bit, opening up the full monty of major memory capability for ultra heavy-duty apps. So my guess at the answer to my question at this point is that the present gcc compiler as implemented, is still using 32-bit API code, so the output is presently just that. With Leopard, it will swing to 64-bit output from gcc --- I don't know if they will keep both APIs in Xcode/gcc.

szymczyk
Aug 25, 2006, 01:03 PM
To see the compiler options:


Select the name of your project from the Groups and Files list.
Click the Get Info button in the project window toolbar. An information panel for the project will open.
Click the Build tab in the information panel.
Choose GNU C/C++ Compiler from the Collection pop-up menu.