[cfe-dev] How to set Clang target type?

Dimitry Andric dimitry at andric.com
Thu Aug 1 14:31:29 PDT 2013


It's now the -target option:

  -target <value>         Generate code for the given target

You can use "clang -help" to get an overview of all supported options.  The manpages are rather inadequate...

-Dimitry

On Aug 1, 2013, at 23:02, "Thompson, John" <John_Thompson at playstation.sony.com> wrote:

> There used to be an option in Clang for setting the compile target type  like:  -triple x86_64
>  
> How is it done nowadays?  I can’t find it in the docs.
>  
> Thanks.
>  
> -John
>  
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130801/5e658786/attachment.html>


More information about the cfe-dev mailing list