[cfe-dev] -target or --target

Stephen Kelly steveire at gmail.com
Fri Sep 6 03:48:29 PDT 2013


Renato Golin wrote:

> Hi folks,
> 
> I'm writing a document on cross-compilation and there is an issue about
> using "--target=" instead of "-target ". Is this the new preferred format
> by the community at large? Are we deprecating the old format?
> 
> Also, is "-gcc-toolchain" the same as "-ccc-gcc-name" ? Which one is
> preferred to use from now on? Why not "--gcc-toolchain="?
> 
> Context:
>  * http://thread.gmane.org/gmane.comp.compilers.clang.devel/29975
>  * http://llvm-reviews.chandlerc.com/D1606

clang++ --help does not document -target or -gcc-toolchain, but it does 
document the -- variants. 

I also note that it doesn't document --sysroot. Should it? Is -isysroot an 
alias for that?

Thanks,

Steve.





More information about the cfe-dev mailing list