Re: Compiling screensaver for 10.5

2011-04-08 Thread Nick Zitzmann
On Apr 8, 2011, at 2:28 PM, Sherm Pendley wrote: > This has to do with the deployment target, right? That is, it will be > changed to ppc7400 if your deployment target is an OS version that > requires a G4 anyway... Correct. Nick Zitzmann __

Re: Compiling screensaver for 10.5

2011-04-08 Thread Sherm Pendley
On Fri, Apr 8, 2011 at 2:48 PM, Nick Zitzmann wrote: > > > ppc. The linker may change this to ppc7400 under certain circumstances. This > is normal, and only means that your screen saver will not load on G3 Macs. This has to do with the deployment target, right? That is, it will be changed to pp

Re: Compiling screensaver for 10.5

2011-04-08 Thread Laurent Daudelin
On Apr 8, 2011, at 11:39, Michael Diehr wrote: > Should I just use: > archs = i386 x86_64 ppc > > or perhaps > archs = i386 x86_64 ppc ppc7400 ppc970 If I recall correctly, "ppc" is the basic, G3 architecture which is supported by the G4 and the G5 so even though the generated code would not

Re: Compiling screensaver for 10.5

2011-04-08 Thread Nick Zitzmann
On Apr 8, 2011, at 12:39 PM, Michael Diehr wrote: > Issue 2: started getting link errors when trying to build including "ppc64". > Removed that and now it compiles & links just fine. The ppc64 architecture was never actually used by the screen saver engine or framework, so this isn't too surp

Re: Compiling screensaver for 10.5

2011-04-08 Thread Nick Zitzmann
On Apr 8, 2011, at 12:14 PM, Michael Diehr wrote: > Ok, you may be right that I'm confused about Target vs. Project settings. > > However, I'm pretty sure there is an actual bug here: > > In 3.2.6: > * double-click MyProject.xcodeproj in the finder > * with the root item selected in Groups&Fil

Re: Compiling screensaver for 10.5

2011-04-08 Thread Quincey Morris
On Apr 8, 2011, at 11:14, Michael Diehr wrote: > Architectures: i386, x86_64, ppc, ppc64, ppc7400, ppc970 Surely this isn't what you mean. You want 6 architectures in your executable? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Compiling screensaver for 10.5

2011-04-08 Thread Michael Diehr
Ok, a few issues: Issue 1: Nick, you were right in that I was totally misunderstanding the distinction between Project and Target -- this didn't matter in XCode 3.2.5 since the architecture macros were fine, but in 3.2.6 this changed. It also didn't help that my xcode file name, project name

Re: Compiling screensaver for 10.5

2011-04-08 Thread Michael Diehr
On Apr 8, 2011, at 11:00 AM, Nick Zitzmann wrote: >> >> Is this perhaps an XCode bug? > > No. > >> Any ideas what to do here? What's the difference between PBXNativeTarget >> and PBXProject? > > Projects and targets can have different configuration settings. Settings > assigned to the target

Re: Compiling screensaver for 10.5

2011-04-08 Thread Nick Zitzmann
On Apr 8, 2011, at 11:35 AM, Michael Diehr wrote: > I'm building a .saver file -- in 3.2.5 I was able to build a universal .saver > file that worked on 10.4 (PPC), 10.5-10.6 (PPC, 32 bit Intel, and 64 bit > Intel). > > I have the exact same issue: updated XCode to 3.2.6 and now I can't build P

Re: Compiling screensaver for 10.5

2011-04-08 Thread Michael Diehr
> On Apr 1, 2011, at 12:13 AM, Gabriel Zachmann wrote: > Yeah, that would do it. 3.2.6 didn't completely drop PPC support, but it did > drop it from the list of standard architectures. I'm building a .saver file -- in 3.2.5 I was able to build a universal .saver file that worked on 10.4 (PPC), 1

Re: Compiling screensaver for 10.5

2011-04-01 Thread Nick Zitzmann
On Apr 1, 2011, at 12:13 AM, Gabriel Zachmann wrote: >> Which version of Xcode are you using? Note that 3.2.6 dropped PPC support. > > I've got 3.2.6. Yeah, that would do it. 3.2.6 didn't completely drop PPC support, but it did drop it from the list of standard architectures. > % file ArtSave

Re: Compiling screensaver for 10.5

2011-03-31 Thread Gabriel Zachmann
> What kind of hardware does your Mac OS X 10.5 user have (i386 / ppc)? It's a G4. (Sorry, I forgot to mention that in my post.) > Which version of Xcode are you using? Note that 3.2.6 dropped PPC support. I've got 3.2.6. Thanks to another member of this mailinglist, I have added "ppc" to the s

Re: Compiling screensaver for 10.5

2011-03-31 Thread Joar Wingfors
Hello Gabriel, Some questions and comments: What kind of hardware does your Mac OS X 10.5 user have (i386 / ppc)? Which version of Xcode are you using? Note that 3.2.6 dropped PPC support. Check your binary to verify that it contains the architectures that you expect: $ file /path/to/ArtSaver.s

Re: Compiling screensaver for 10.5

2011-03-31 Thread Nick Zitzmann
On Mar 31, 2011, at 1:03 PM, Laurent Daudelin wrote: >> You should also change this to macosx10.6 for the x86_64 build only. > > Maybe a stupid question but how do you change build settings for a particular > architecture? I'm still on 3.2.6, btw... In the build tab of the info window on the t

Re: Compiling screensaver for 10.5

2011-03-31 Thread Laurent Daudelin
On Mar 31, 2011, at 09:42, Nick Zitzmann wrote: > > On Mar 31, 2011, at 12:29 AM, Gabriel Zachmann wrote: > >> So, here are (hopefully) all relevant settings that are in effect when I >> compile using the configuration "release 10.5": >> ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; > >

Re: Compiling screensaver for 10.5

2011-03-31 Thread Nick Zitzmann
On Mar 31, 2011, at 12:29 AM, Gabriel Zachmann wrote: > So, here are (hopefully) all relevant settings that are in effect when I > compile using the configuration "release 10.5": > ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; If you still want to support PowerPC, then you need to change