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

Thompson, John John_Thompson at playstation.sony.com
Thu Aug 1 15:37:03 PDT 2013


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.

Thanks.

-John

From: Dimitry Andric [mailto:dimitry at andric.com]
Sent: Thursday, August 01, 2013 2:31 PM
To: Thompson, John
Cc: cfe-dev at cs.uiuc.edu
Subject: Re: [cfe-dev] How to set Clang target type?

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<mailto: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<mailto: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/7efec1ef/attachment.html>


More information about the cfe-dev mailing list