[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Support] Pls bring me up to speed on gcc-4.7 and Swarm. Anybo
From: |
Scott Christley |
Subject: |
Re: [Swarm-Support] Pls bring me up to speed on gcc-4.7 and Swarm. Anybody? |
Date: |
Thu, 07 Jun 2012 17:15:37 -0500 |
On Jun 1, 2012, at 2:27 PM, Paul Johnson wrote:
> On 05/31/2012 02:08 PM, Scott Christley wrote:
>> On May 30, 2012, at 4:43 PM, Paul Johnson wrote:
>>
>>> On 05/30/2012 04:12 PM, Scott Christley wrote:
>>>> Hi Paul,
>>>>
>>>> Swarm will not work with gcc-4.7.0. More specifically, gcc-4.7.0 has the
>>>> new GNU Objective-C runtime library which has been extensively changed to
>>>> be compatible with Objective-C v2.0 from Apple.
>>>>
>>>
>>> Bummer.
>>>
>>> Is there anything to be done?
>>
>> Yes. Porting Swarm to Mac required me to write an objc abstraction layer,
>> during that process Apple came out with ObjC V2 so I naturally wrote the
>> abstraction layer to match Apple's API. If you look at the file
>> swarm-objc-apple2.h in src/defobj, you will see that all of the Swarm objc
>> functions are just #define'd to the Apple objc functions. The same thing
>> can be done for GNU objc by creating a swarm-objc-gnu2.h then have it be
>> included from swarm-objc-api.h under the right conditions (i.e. some check
>> for GNU and objc version). If the Apple and GNU runtimes have the same
>> behavior, which I think they are suppose to, then the objc abstraction layer
>> can be tossed completely and ObjC V2 used directly.
>>
>
> Thanks very much. I would like to ask for a show of hands here to ask if
> there is anybody else besides me who would
> like to talk this over and work on this?
>
> I will have some time in later June to focus on this, if I could find a few
> team mates, it might be more fun.
If you put time into it, you will surely overcome my inertia and I will help
get it working.
cheers
Scott