discuss-gnustep
[Top][All Lists]
Advanced

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

Re: gnuconfig and runtime 1.9/ARC issue


From: Patryk Laurent
Subject: Re: gnuconfig and runtime 1.9/ARC issue
Date: Sat, 4 May 2019 10:44:01 -0700


Aha, indeed there is:

--with-library-combo=ng-gnu-gnu 

in the Ubuntu version of the script for the ./configure commands for GNUstep 
Make. 

https://github.com/plaurent/gnustep-build/blob/master/GNUstep-buildon-ubuntu1904.sh

Thank you,
Patryk





Sent from my iPhone
> On May 4, 2019, at 10:05 AM, David Chisnall <address@hidden> wrote:
> 
> When you configure GNUstep, Make, make sure that you use the 'ng' library 
> combo.  This will use the GNUstep runtime.  I'd also recommend using clang 8 
> with the 2.0 runtime, rather than the 1.9 release, unless you have a 
> compelling reason to use an old compiler.
> 
> David
> 
> 
>> On 04/05/2019 06:23, Johannes Brakensiek wrote:
>> Hello everyone,
>> currently I'm learning ObjC and Cocoa and I'm digging into GNUstep for
>> cross platform development.
>> I compiled GNUstep from scratch using a modified version of Patryk
>> Laurent's script, which is documented by this repo:
>> https://github.com/Letterus/gnustep-build-debian/blob/master/GNUstep-buildon-debian.sh
>> It's the 1.9 runtime compiled using clang 6.0 on Debian 9 stretch.
>> Apps work fine so far, but now I wanted to compile one with ARC enabled.
>> I added to the makefile:
>> OBJCFLAGS = -fobjc-arc
>> But upon make I get this error:
>> error: -fobjc-arc is not supported on platforms using the legacy runtime
>> To check the selected platform I checked the output of "gnustep-config
>> --objc-flags", which is this:
>> -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1
>> -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing
>> -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC
>> -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import
>> -g -fblocks -fobjc-runtime=gnustep-1.9 -fobjc-runtime=gcc
>> -fconstant-string-class=NSConstantString -I.
>> -I/home/joey/GNUstep/Library/Headers
>> -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers
>> I wonder where this "-fobjc-runtime=gcc" comes from, if it is the cause
>> of the issue and how to get rid of it?
>> Do you have any hints?
>> Thanks and regards,
>> Johannes
>> _______________________________________________
>> Discuss-gnustep mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

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