[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiler options order sensitive to placement of fobjc-arc
From: |
Wolfgang Lux |
Subject: |
Re: Compiler options order sensitive to placement of fobjc-arc |
Date: |
Fri, 27 Dec 2013 23:15:20 +0100 |
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? :)
Yes. You simply mistyped -fobjc-arc an entered -fobj-arc instead.
Wolfgang