I'm having issues with gnustep-base-devel. This is on OS X 10.6 with Xcode 3.2.6.
The-Evil-MacBook:macports ivucica$ clang --version
clang version 2.9 (tags/RELEASE_29/final)
Target: x86_64-apple-darwin10
Thread model: posix
The-Evil-MacBook:macports ivucica$ which clang
/opt/local/bin/clang
Looks like clang warns about redefinition of __weak. Also, it appears clang cannot locate <objc/sarray.h>.
:info:build In file included from GSObjCRuntime.m:32:
:info:build In file included from .././common.h:30:
:info:build In file included from /opt/local/GNUstep/Local/Library/Headers/Foundation/NSZone.h:57:
:info:build In file included from /opt/local/GNUstep/Local/Library/Headers/Foundation/NSObjCRuntime.h:32:
:info:build /opt/local/GNUstep/Local/Library/Headers/GNUstepBase/preface.h:78:11: fatal error: 'objc/sarray.h' file not found
:info:build #include <objc/sarray.h>
:info:build ^
I have also attached the log file.
On Fri, Nov 18, 2011 at 20:18, Ivan Vučica
<ivucica@gmail.com> wrote:
Zcode? Wow! *flattered*
I really need to get back to working on it.
I'm trying out the updated packages right now.
Hi,
Some updates on my macports (
https://github.com/ericwa/gnustep-macports-fixes): I've switched them to use clang and libobjc2, and have done some tidying. They are now working on both of my systems:
Mac OS 10.6.8 / Xcode 3.2.5 (x86_64)
Mac OS 10.7.2 / Xcode 4.2 (x86_64)
On 10.7, the system-provided clang is used; on 10.6 I install the clang port from macports (currently version 2.9. I couldn't get the system-provided clang, Apple version 1.6, to work.)
Apps I've tested include GSTest, Gorm, and Zcode. Blocks and native ObjC exceptions seem to be working on both systems.
-Eric
On 2011-11-09, at 11:39 AM, Eric Wasylishen wrote:
This is great! Thanks for your effort. Btw. are those ports going to be at the macports repository?
I hope they will be accepted!
There are several things I would like to do before submitting them to macports:
- more testing
- hopefully get them working on OS 10.7 (they probably would work if the gcc46 port wasn't broken :-)
- the old ports contained some hacks for installing man pages/documentation... need to check if these are still needed
- maybe investigate getting them to compile with clang
- submit some of my patches to gnustep trunk
- once the next release of GNUstep comes out, get ports working with that release (currently my ports require trunk)
Cheers,
Eric
--
Ivan Vučica -
ivan@vucica.net