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 <[email protected]> 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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep



-- Send from my Jacquard Loom


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to