XCode: Compiler Output and Configuration

Discussion in 'Mac Programming' started by BadRambo, Aug 24, 2006.

  1. macrumors member


    Aug 20, 2006
    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 -- ;)
  2. macrumors 6502

    Jul 25, 2006
    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.
  3. thread starter macrumors member


    Aug 20, 2006
    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.
  4. macrumors regular

    Mar 5, 2006
    To see the compiler options:

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

Share This Page