[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: |
Paul Johnson |
Subject: |
Re: [Swarm-Support] Pls bring me up to speed on gcc-4.7 and Swarm. Anybody? |
Date: |
Fri, 1 Jun 2012 14:27:39 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 |
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.
pj
--
Paul E. Johnson email: address@hidden
http://pj.freefaculty.org Assoc. Director
Professor, Political Science Center for Research Methods and Data Analysis
1541 Lilac Lane, Rm 504 1425 Jayhawk Blvd.
University of Kansas Watson Library, Rm. 470
Lawrence, Kansas 66045-3129 Lawrence, Kansas 66045-7555
Ph: (785) 864-3523 Ph: (785) 864-3353
- Re: [Swarm-Support] Pls bring me up to speed on gcc-4.7 and Swarm. Anybody?,
Paul Johnson <=