As mentioned, it will run on G4s and G5s. Of course that should be expected since you are not building with '-mmacosx-version-min' and thus the ppc code being built is for the current OS version (meaning you're probably trying to run it through rosetta which understands ppc7400). If you want to *really* run it on a G3, then you certainly aren't expecting it to be on OSX 10.6, so you need to specify the minimum OS version appropriately:
~ $ gcc-4.2 -arch ppc -mmacosx-version-min=10.4 test.c ~ $ lipo -info a.out Non-fat file: a.out is architecture: ppc BTW, this should "just work" when you follow the suggestion mentioned in the very first reply to your thread: http://lists.macosforge.org/pipermail/macports-users/2010-September/021880.html On Oct 4, 2010, at 13:40, Nikos Chantziaras wrote: > On 10/04/2010 11:28 PM, Ryan Schmidt wrote: >> >> On Oct 4, 2010, at 14:27, Harry van der Wolf wrote: >> >>> 2010/10/4 Jeremy Huddleston<[email protected]> >>> >>>> gcc-4.2 is the default compiler in Snow Leopard for all supported >>>> architectures. One of my systems is 32bit, and I've never had a problem >>>> using it. What problems are you seeing when using gcc-4.2.1? >>> >>> 32bit ppc or 32bit Intel? >> >> Obviously, if it's running Snow Leopard, it's Intel. Snow Leopard does not >> run on PowerPC computers. > > I suppose what is meant here is whether the 32bit ppc code generated by 10.6 > runs OK on PowerPCs. They obviously run 10.5 or lower, but 10.6 still > supports generating code for them just fine. > > _______________________________________________ > macports-users mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
