[cfe-commits] [PATCH] Add -fobjc-direct-class-refs
John McCall
rjmccall at apple.com
Mon May 14 19:46:16 PDT 2012
On May 14, 2012, at 3:42 PM, David Chisnall wrote:
> On 14 May 2012, at 23:37, John McCall wrote:
>> But yes, in principle it makes sense to write something like -fgnu-runtime=gnustep-1.0.
>
> I would like to see something like -fobjc-runtime={gcc,gnustep,mac,objfw} and -fobjc-runtime-version={whatever}, with -fgnu-runtime, -fnext-runtime and -fobjc-nonfragile-abi as legacy options that mapped to some combination of these. We already have a few extraneous things like -fobjc-legacy-dispatch that should really not be there as stand-alone options.
Splitting the argument into name and version works for me. We'd want to separate "mac" into two different "darwin" and "darwin_fragile" runtimes. For GNU, that distinction is implied by "gcc" (fragile) vs. "gnustep" (non-fragile) vs. "objfw" (currently fragile, but we'll see)?
John.
More information about the cfe-commits
mailing list