Hi, Here is a patch to support compiling GNUstep Base and the Etoile trunk repository against libobjc2 on Ubuntu Linux.
Without it, GNUstep Base configure fails to compile a basic test objc program with GCC because of undefined pthread references. On the Étoilé side, LanguageKit compilation fails because of an undefined NSBlock reference in EtoileFoundation: libobjc2/NSBlock.m declares @interface NSBlock (but no @implementation NSBlock unlike ObjectiveC2/NSBlocks.m) while EtoileFoundation defines a category NSBlock(SmalltalkCompatibility). Cheers, Quentin.
Index: NSBlocks.m =================================================================== --- NSBlocks.m (revision 29181) +++ NSBlocks.m (working copy) @@ -61,3 +61,6 @@ NEW_CLASS(&_NSBlock, _NSConcreteStackBlock); NEW_CLASS(&_NSBlock, _NSConcreteGlobalBlock); } + +...@implementation NSBlock +...@end Index: GNUmakefile =================================================================== --- GNUmakefile (revision 29181) +++ GNUmakefile (working copy) @@ -54,6 +54,8 @@ thr.h\ typedstream.h +libobjc_LIBRARIES_DEPEND_UPON += -lpthread + # Deprecated functions are only deprecated for external use, not for us because # we are special, precious, little flowers. libobjc_CPPFLAGS += -D__OBJC_RUNTIME_INTERNAL__=1 -D_XOPEN_SOURCE=500
_______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
