[ expat-Bugs-538183 ] Building on Mac OS X
noreply@sourceforge.net
noreply@sourceforge.net
Wed Apr 3 15:14:45 2002
Bugs item #538183, was opened at 2002-04-02 07:20
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=538183&group_id=10127
Category: Build control
Group: Platform Specific
>Status: Deleted
Resolution: None
Priority: 5
Submitted By: Peter Lindberg (tesugen)
Assigned to: Greg Stein (gstein)
Summary: Building on Mac OS X
Initial Comment:
I had to change the config.objc.m file in order to get ./configure to detect whether Objective-C /really/ works:
burger% diff -c old-config.objc.m config.objc.m
*** old-config.objc.m Tue Apr 2 07:11:39 2002
--- config.objc.m Tue Apr 2 07:08:33 2002
***************
*** 1,8 ****
--- 1,10 ----
/* Dummy NXConstantString impl for so libobjc that doesn't include it */
+ #ifndef __APPLE__
#ifndef NeXT_RUNTIME
#include <objc/NXConstStr.h>
@implementation NXConstantString
@end
+ #endif
#endif
#include <objc/Object.h>
burger%
I'm not sure whether this is the correct thing to do. I don't recognize the NeXT_RUNTIME define so I'm not sure whether I should check for some define that ./configure passes on. This works, however (although you could actually ASSUME that Objective-C works on Mac OS X, since it is the #1 language for Mac OS X development).
Regards,
/P.
--
Peter Lindberg
Computer Programmer, Sweden
mailto:peter@oops.se
http://tesugen.com
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=538183&group_id=10127