|
From: | Adam Fedor |
Subject: | Re: Discuss-gnustep Digest, Vol 2, Issue 68 |
Date: | Fri, 24 Jan 2003 13:16:36 -0700 |
On Friday, January 24, 2003, at 01:05 PM, Nicolas ROARD wrote:
Le vendredi, 24 jan 2003, à 20:45 Europe/Paris, Jonathan Gapen a écrit :On Fri, 24 Jan 2003, Nicolas ROARD wrote:Do you know what exactly is broking the bundle loading ? because it seems that I have the same problem in trying to compile gnustep under mac os x 10.2.3 with gcc 3.2.1 (not using the apple gcc) ...There's some really hairy code that sets up a callback function sothat gnustep-base can register in NSBundle the classes loaded from ashared object. When using gnustep-objc with gcc 3.2, as far as I could tell in GDB, a global variable in libobjc doesn't get set with the address of the callback function, so libobjc can't call it and gnustep-base can'tregister any classes in NSBundle.Ok :-/ Could it be working with a previous version of gcc ? and which one ? (should I step back with a gcc 2.9x ??)
I don't think you're necessarily having the same problem. I really don't know if bundles were ever even ported to MacOSX. Try running an application with
openapp MyApp.app --GNU-Debug=NSBundle or try running the nsbundle test in base/Testing: make LoadMe make nsbundle ./obj/nsbundle
[Prev in Thread] | Current Thread | [Next in Thread] |