[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnuconfig and runtime 1.9/ARC issue
From: |
Johannes Brakensiek |
Subject: |
gnuconfig and runtime 1.9/ARC issue |
Date: |
Sat, 4 May 2019 12:23:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
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
- gnuconfig and runtime 1.9/ARC issue,
Johannes Brakensiek <=
- Re: gnuconfig and runtime 1.9/ARC issue, David Chisnall, 2019/05/04
- Re: gnuconfig and runtime 1.9/ARC issue, Patryk Laurent, 2019/05/04
- 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