[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 <gnustep@theravensnest.org> 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
>> Discuss-gnustep@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
- gnuconfig and runtime 1.9/ARC issue, Johannes Brakensiek, 2019/05/04
- Re: gnuconfig and runtime 1.9/ARC issue, David Chisnall, 2019/05/04
- Re: gnuconfig and runtime 1.9/ARC issue,
Patryk Laurent <=
- Re: gnuconfig and runtime 1.9/ARC issue, Johannes Brakensiek, 2019/05/04
- Re: gnuconfig and runtime 1.9/ARC issue, Patryk Laurent, 2019/05/04
- Re: gnuconfig and runtime 1.9/ARC issue, Frederik Seiffert, 2019/05/06
- Re: gnuconfig and runtime 1.9/ARC issue, Andreas Fink, 2019/05/06
- Re: gnuconfig and runtime 1.9/ARC issue, Johannes Brakensiek, 2019/05/06
- Re: gnuconfig and runtime 1.9/ARC issue, Johannes Brakensiek, 2019/05/12
- Re: gnuconfig and runtime 1.9/ARC issue, Patryk Laurent, 2019/05/12
- Re: gnuconfig and runtime 1.9/ARC issue, David Chisnall, 2019/05/13
- Re: gnuconfig and runtime 1.9/ARC issue, Riccardo Mottola, 2019/05/22
- Re: gnuconfig and runtime 1.9/ARC issue, Johannes Brakensiek, 2019/05/22