discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep on Darwin!


From: John Davidorff Pell
Subject: Re: GNUstep on Darwin!
Date: Sun, 23 Nov 2003 23:54:06 -0800

Here is my GNUstep tutorial so far, critics welcome:
http://gaelicwizard.kicks-ass.net/~pell/content.php?content=gnustep

The unresolved symbol is ___CFConstantStringClassReference its defined in CoreFoundation.framework, so i linked -base to with -framework CoreFoundation. It seemed OK... :-)

The tools from -base crash mostly with undefined symbols:
rest_world
save_world

And ideas? Is this related to the ObjC runtime?

the GNUstep libObjC library is actually build shared, not static, so it is named libobjc.dylib and its in /GNUstep/System/Library/Libraries

iBelieve that its being found correctly. An issue, -base has MANY undefined symbols from libobjc, so I added '-lobjc' to its compile line. Is this OK? Is it a bug? Or should it only be linked in when building binaries? Since libobjc is shared, iDon't think it matters. :-)

Where are 'rest_world' and 'save_world' defined??

:-)

JP

P.S. iShould note that I'm using an "almost stock" apple compiler. I applied the bundle loading patch that was on the list a while back, AFAIK everything else is *identical* to stock. :-)





On Nov 23, 2003, at 9:00 PM, Adam Fedor wrote:


On Sunday, November 23, 2003, at 03:07 PM, John Davidorff Pell wrote:

I've successfully built and installed all the way up through -base on darwin using gnu-gnu-gnu. I used GNUstep's libobjc, and pyobjc's libffi. In gui I am getting this error:

[...]

P.S. I plan on making a guide for building on darwin, if I can get the rest to compile happily. I am using apple's gcc, and most of the modifications have simply been to add "-lobjc" to a whole bunch of make files. :-) For base I had to add "-framework CoreFoundation" to resolve "___CFConstant...comething...blah..."


Well, no one has gotten GNUstep to work with the Apple compiler as far as I know, so you are probably in for some fun. Have you actually been able to get GNUstep base to work (i.e. run some of the tests in the Testing directory or some of the Tools)?

If you are doing gnu-gnu-gnu, then you probably want to add -fgnu-runtime to the compile flags (GNUstep make might be doing that automatically, but make sure). Also, it's likely you'll have to remove the libobjc.dylib that comes with Apple's GCC, or at least make sure the the GNUstep libobjc.a is named libobjc.dylib so it's properly linked (see http://www.gnustep.org/information/machines_1.html#SEC2).

The CFConstant... stuff doesn't sound good - sounds like it is trying to link in more stuff than it should.




--
John Davidorff Pell
johnpell@mac.com


Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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