[cfe-dev] x86-64 Code Models

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed May 22 08:42:55 PDT 2013


The clang option is -mcmodel.

On 22 May 2013 11:03, Cameron McInally <cameron.mcinally at nyu.edu> wrote:
> Hey guys,
>
> I'm not a heavy clang user. Please forgive my simple question...
>
> Is this a Bug?
>
> xxx$ ./build/Debug+Asserts/bin/clang -fpic -mcode-model=medium -S test.c
> clang: warning: argument unused during compilation: '-mcode-model=medium'
>
> It seems like the mcode-model option isn't supported. Was this option
> deprecated? I have not been able to find much documentation concerning this
> option.
>
> This is one of the first chances I've had to look at the clang source, but
> there does appear to be some code built around mcode-model.
>
> Thanks,
> Cameron
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>



More information about the cfe-dev mailing list