[cfe-dev] -target or --target
Robinson, Paul
Paul_Robinson at playstation.sony.com
Fri Sep 6 08:44:02 PDT 2013
> -----Original Message-----
> From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu]
> On Behalf Of Stephen Kelly
> Sent: Friday, September 06, 2013 3:48 AM
> To: cfe-dev at cs.uiuc.edu
> Subject: Re: [cfe-dev] -target or --target
>
> 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've never found --help to be definitive, or even all that helpful.
It describes things it shouldn't (e.g. options valid only with -cc1)
and omits things it should include. Last I checked, it dumped exactly
the options that had a help string, which I don't think is a very
good criterion for choosing what to display.
--paulr
More information about the cfe-dev
mailing list