discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there any way to use ARC in 32-bit?


From: David Chisnall
Subject: Re: Is there any way to use ARC in 32-bit?
Date: Wed, 28 Jan 2015 08:55:52 +0000

It sounds like you're using an OS where clang defaults to the GCC runtime (some 
Linux variant probably).  You'll need to add -fobjc-runtime=gnustep-1.7.

Note that this has nothing to do with 32-bit vs 64-bit, it is purely about the 
Objective-C runtime that the compiler is targeting.

David

> On 28 Jan 2015, at 01:30, Jens Alfke <jens@couchbase.com> wrote:
> 
> I'm investigating getting a large iOS/Mac codebase to run on Linux via 
> GNUstep. The latest roadblock I've run into is that if I enable ARC (clang 
> flag -fobjc-arc) I get an error that "-fobjc-arg is not supported on 
> platforms using the legacy runtime".
> 
> I'm building for 32-bit, because the eventual target platform is an embedded 
> system that's almost certainly 32-bit. Is there any way to get this to work? 
> Apple's Obj-C implementation supports a 'modern' runtime in 32-bit, although 
> it's only used in iOS for reasons of backward compatibility. Does the GNUstep 
> Obj-C runtime have similar support, and if so how would I enable it?
> 
> (Not using ARC is not an option … the amount of work to take it out would be 
> prohibitive.)
> 
> —Jens
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep



-- Send from my Jacquard Loom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]