Hi On 24 May 2011 05:00, Dave McGary <[email protected]> wrote: [...] > PS - Here is the relevant text from monitor… > $ python setup.py build [...] > building 'cx_Freeze.util' extension > creating build/temp.macosx-10.6-fat-2.6/source > gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g
The "-arch ppc" line is what's tripping you up. I don't know where that is defined. Also, I have not tried Xcode 4 yet. See if you can get around the problem by manually running that command (perhaps with gcc-4.2 instead) without the "-arch ppc" part and then see if you can continue the build from there. Not sure that will work, though. > -O2 -DNDEBUG -g -O3 > -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c > source/util.c -o build/temp.macosx-10.6-fat-2.6/source/util.o [...] > OK, realizing my possible mistake, I try an experiment. > 3) Remove the soft link of > 4) sudo ln -s > /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.0 > /usr/bin/gcc-4.0 No, I think this is barking up the wrong tree. This compiler most likely create ARM binaries for running on the iPhone and not on your Intel Mac. > Here I may have crossed things up badly. Using a single tool from one area, > and everything else from elsewhere. > NOW I get the error I have seen in the archive, but have not seen FIXED in > the archives. At least I know I am no longer alone… > I am now getting: lipo: can't figure out the architecture type of: > /var/folders/gY/gY+p1oTwEcCtFzSEJM0A9++++TI/-Tmp-//ccSJXe5M.out Yes, I suspect this is because that copy of lipo knows about the Intel architecture (and maybe PPC) but not ARM. > … > … > … > building 'cx_Freeze.util' extension > gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g > -O2 -DNDEBUG -g -O3 > -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c > source/util.c -o build/temp.macosx-10.6-fat-2.6/source/util.o > gcc-4.0: installation problem, cannot exec > '/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/powerpc-apple-darwin10-gcc-4.0.1': > No such file or directory This is because of the "-arch ppc" again, but this time it can't find a PPC version of the compiler, whereas the earlier error was complaining about the assembler rather than the compiler itself. > lipo: can't figure out the architecture type of: > /var/folders/gY/gY+p1oTwEcCtFzSEJM0A9++++TI/-Tmp-//ccSJXe5M.out > error: command 'gcc-4.0' failed with exit status 255 > > Is there a global I can set to turn off the attempt to make both FAT and PPC > versions of everything? I suspect this is something to do with how setup tools works and not specific to cx_Freeze. > I tried setting Target to OSX 10.6, that only got rid of one warning, the > attempts to build FAT versions (and the expected failures) goes on. > I look forward to your responses. > Thank you! > --Dave -- Michael Wood <[email protected]> ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ cx-freeze-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
