David,

Odd indeed, especially since the first ordering worked previously. Here is the output of gnustep-config:

patryk@paklbox:~$ gnustep-config --objc-flags
-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 -fgnu-runtime -fconstant-string-class=NSConstantString -I. -I/home/patryk/GNUstep/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers -I/usr/include/libxml2 -I/usr/include/p11-kit-1
I will make a note to specify the GNUStep version.

Thank you,
Patryk



On Dec 27, 2013, at 11:42 AM, David Chisnall <[email protected]> wrote:

That is indeed odd, and not something that I've seen. It would help to know the output from gnustep-config in your setup.

It's also better to specify the runtime version, as well as the family (-fobjc-runtime=gnustep-1.7).

David

On 27 Dec 2013, at 19:34, Patryk Laurent <[email protected]> wrote:

Interestingly, the -fobjc-arc option is not recognized if it appears too early:
patryk@paklbox:~$ clang `gnustep-config --objc-flags` `gnustep-config --objc-libs` -fobj-arc -fobjc-runtime=gnustep -fblocks -lobjc blocktest.m
clang-3.5: error: unknown argument: '-fobj-arc'
patryk@paklbox:~$
If I place it later, it's fine.
patryk@paklbox:~$ clang `gnustep-config --objc-flags` `gnustep-config --objc-libs` -fobjc-runtime=gnustep -fblocks -fobjc-arc -lobjc blocktest.m
patryk@paklbox:~$
Is this expected and/or understood by someone? :)
Thanks,
Patryk
_______________________________________________
Discuss-gnustep mailing list
[email protected]
 
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
 

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

Reply via email to