Re: Need help testing for *jaguar* compatibility...
Re: Need help testing for *jaguar* compatibility...
- Subject: Re: Need help testing for *jaguar* compatibility...
- From: Chris Herborth <email@hidden>
- Date: Wed, 01 Jun 2005 09:03:47 -0400
- Organization: Arcane Dragon Software
Bill Cheeseman wrote:
on 2005-05-30 12:27 PM, Matthew Weinstein at email@hidden wrote:
Give some tips of things to look for that might be breaking my puppy?
If it was built on Mac OS X 10.4 Tiger using Xcode 2.0 default settings, it
won't run under Mac OS X 10.2 Jaguar or older. This is because Xcode 2.0
defaults to the gcc 4.0 compiler. If you build it using the gcc 3.3
compiler, instead, this particular problem will disappear.
I've ported an OpenGL screen saver (Noof, from xscreensaver); like my
other non-GL savers, I've compiled with gcc 3.3, used the 10.2.8 SDK, etc.
The saver crashes on startup in 10.3 (works just fine in 10.4, haven't
tested it in 10.2), and I've spent three frustrating weeks trying to
figure out why. I don't have a 10.3 system handy (my only OS X system
is my iBook), so it's been painful rounds of send binary to friend, get
back crash report, try something new, repeat.
I've had no trouble cross-compiling an OpenGL application and having it
work, but I haven't been able to figure out why this is crashing.
Things I've tried:
* adding NSLog() calls to try to pinpoint the crash site; no joy
* using the OpenGL framework from the 10.2.8 SDK instead of the default
Doing a clean build on a 10.3 system seems to produce a binary that
works, at least on a 10.3 system. Since I'm still rather new to Xcode
and Cocoa development, it's probably something I've done, but I have
this nagging feeling that there's some sort of Xcode/cross-development bug.
Code/binary can be found here if any kind soul has a few minutes to take
a look: http://chrish.dnsalias.org:8000/~chrish/osx/ ("Noof" is the
OpenGL saver).
--
Chris Herborth (email@hidden)
http://www.pobox.com/~chrish/osx/
Never send a monster to do the work of an evil scientist.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden