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 <
plaurent@me.com> 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
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep