How to set Clang target type?

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.



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...


Thanks for the info!

What’s the proper way to set up for 64-bit on Windows?

If I use –c –target x86_64 it tries to run “gcc” for the assembler.