discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiler options order sensitive to placement of fobjc-arc


From: Patryk Laurent
Subject: Re: Compiler options order sensitive to placement of fobjc-arc
Date: Fri, 27 Dec 2013 23:16:28 +0000 (GMT)

Oh, whoops simple typo, I must have gotten a little excited :)

On Dec 27, 2013, at 02:15 PM, Wolfgang Lux <wolfgang.lux@gmail.com> wrote:

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]