[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiler options order sensitive to placement of fobjc-arc
From: |
Patryk Laurent |
Subject: |
Compiler options order sensitive to placement of fobjc-arc |
Date: |
Fri, 27 Dec 2013 19:34:40 +0000 (GMT) |
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
- Compiler options order sensitive to placement of fobjc-arc,
Patryk Laurent <=