|
From: | Dennis Leeuw |
Subject: | Re: building gnustep-base-1.8.0 on Max OS X 10.3.2 |
Date: | Tue, 09 Mar 2004 09:32:57 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 |
Hi Gerhard, I think there are a couple of people that managed to build it. from the HOWTO: Darwin 6.x/PowerPC ================== `Recommended compiler' gcc 3.3.2. Older versions will not compile on Darwin. Default compiler has some odd memory(?) related problems. Use the GNU runtime. Download the gcc compiler and configure it with -enable-threads=posix. You don't need binutils or anything else. Optional: Usually the installed compiler will produce object files for the NeXT runtime if you don't say gcc -fgnu-runtime. To change this behaviour, edit src-dir/gcc/config/darwin.h: You have to change the word #define in line 73 to #undef. Then the runtime default is gnu. When bootstrapping the compiler a nice working objective C gnu-runtime library (which is a little bit faster than Apple's runtime) will be compiled and installed when make install. To use it, there is one (important) thing left: After installing the compiler, you have to go to install-dir/lib and produce the following dynamic link: ln -s libobjc.a libobjc.dylib This might seem senseless, but it forces the linker to use this library instead of the NeXT-runtime! `Extra libs needed' Use libffi (not ffcall). This should be enabled by default in gnustep-base so you don't have to type -enable-libffi. Also you need the dlcompat library (from <www.opendarwin.org>) to load bundles (like the backend bundle). `Special Instructions' Make sure to configure gnustep-make with ./configure -with-library-combo=gnu-gnu-gnu if you want to use all the GNUstep libraries. And for more information I suggest contacting the discuss-gnustep@gnu.org mailinglist. There are more people there that might be able to help you. Dennis Gerhard Eckel wrote:
Dear Dennis Leeuw,i am trying to build gnustep-base-1.8.0 on a Mac under Mac OS 10.3.2. I read everything on http://gnustep.made-it.com/BuildGuide/ but can't understand why building it fails and I get:--- cut here --- Linking subproject Additions ... Making all for library libgnustep-baseadd... Linking library libgnustep-baseadd ...ld: Additions/shared_obj/subproject.o illegal reference to symbol: _getColumnNumber defined in indirectly referenced dynamic library /usr/lib/libxml2.2.dylib/usr/bin/libtool: internal link edit command failed Making all in SSL... Making all for bundle SSL... Creating SSL.bundle/.... Compiling file GSSSLHandle.m ... In file included from ../Headers/Foundation/NSObjCRuntime.h:31, from ../Headers/Foundation/Foundation.h:29, from GSSSLHandle.m:54:../Headers/Additions/GNUstepBase/GSObjCRuntime.h:462: error: parse error before '*' token ../Headers/Additions/GNUstepBase/GSObjCRuntime.h:463: warning: type defaults to `int' in declaration of `GSObjCZone' ../Headers/Additions/GNUstepBase/GSObjCRuntime.h:463: warning: data definition has no type or storage classmake[2]: *** [shared_obj/GSSSLHandle.o] Error 1 make[1]: *** [SSL.all.bundle.variables] Error 2 make: *** [internal-all] Error 2 --- cut here --- Do you know of anybody who has successfully built it for Mac OS X 10.3.2? Thank you for any pointer! Best regards, Gerhard Eckel
[Prev in Thread] | Current Thread | [Next in Thread] |