discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Discuss-gnustep Digest, Vol 2, Issue 68


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 so
that gnustep-base can register in NSBundle the classes loaded from a
shared 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't
register 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]