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

2013-12-27 Thread Patryk Laurent
Oh, whoops simple typo, I must have gotten a little excited :)On Dec 27, 2013, at 02:15 PM, Wolfgang Lux wrote:Patryk Laurent wrote: Interestingly, the -fobjc-arc option is not recognized if it appears too early:patryk@paklbox:~$ clang `gnustep-config --objc-flags` `gnustep-confi

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

2013-12-27 Thread Wolfgang Lux
Patryk Laurent 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 argu

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

2013-12-27 Thread Patryk Laurent
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 -fo

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

2013-12-27 Thread David Chisnall
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 wrote: > > Interesti

Compiler options order sensitive to placement of fobjc-arc

2013-12-27 Thread Patryk Laurent
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 plac