Results 1 to 2 of 2
  1. #1

    MichiganDavid's Avatar
    Member Since
    Jan 21, 2009
    Midland, Michigan
    MB Pro, 17", 2.5 GHz Intel
    Question Compiling for Release on PPC Architecture
    I have just completed a C++ utility (no gui). I would now like to compile it for use on other computers. I set the Xcode "active build configuration" for "release", but the application that was in the "Release" folder did not run properly. The copy in the "debug" folder did run, however.

    I copied this application from the debug folder to a different computer with a different architecture. The program was developed on an Intel mac and I want to run it on a PPC G3. When I launched the application, it exited with a complaint about being the wrong processor. The build settings are set for "32-bit universal" and the valid architectures are VALID_ARCHS = i386 ppc ppc64 ppc7400 ppc970 x86_64, according to build settings.

    I would appreciate any help you can provide.


  2. #2

    Member Since
    Mar 15, 2007
    17" MacBook Pro, 2.33GHz C2D, 2GB RAM
    For problem 1 (release build doesn't run right): when a release build doesn't work right even though the debug build does, it is often a bug with some variable that is uninitialized. Release builds may not initialize things by default the same way that debug builds do.

    For problem 2 (debug build not working on a PPC): check which configuration those build settings were for, and check if the "Build for Active Architecture Only" option is selected (which I believe it is by default for debug builds). I'd guess the latter is giving you an Intel-only debug build.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Architecture support
    By Rossatron in forum macOS - Operating System
    Replies: 8
    Last Post: 11-12-2012, 05:33 PM
  2. not supported on this architecture
    By gomicego in forum Switcher Hangout
    Replies: 3
    Last Post: 04-21-2012, 02:49 AM
  3. How to restore a PPC architecture?
    By Wing Lam in forum Apple Desktops
    Replies: 2
    Last Post: 05-06-2010, 04:50 PM
  4. Architecture Applications?
    By corbs92 in forum macOS - Apps and Games
    Replies: 1
    Last Post: 02-13-2008, 09:22 AM
  5. Architecture Software Q's
    By jo5ephedward5 in forum macOS - Apps and Games
    Replies: 2
    Last Post: 11-22-2006, 06:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts