[cfe-dev] -target or --target

Renato Golin renato.golin at linaro.org
Tue Sep 10 00:44:25 PDT 2013


On 10 September 2013 03:57, Bob Wilson <bob.wilson at apple.com> wrote:

> I personally prefer the two-dash versions of those options.  If we need to
> continue accepting the single-dash versions for compatibility, that’s fine,
> but at least it would be nice to only document the two-dash versions.
>

I've used the two dash versions on the doc.


It’s a bit complicated.  On non-Apple platforms, -isysroot is like —sysroot
> except that it only applies to the header search paths.  For historical
> reasons, Apple ended up using -isysroot as the option to select an SDK: it
> applies to both headers and libraries and does so in a way that is
> different than —sysroot.  (I don’t remember the exact difference.)  I have
> no idea what is the best way to document that.
>

I left it as --sysroot, since --isysroot doesn't behave like --sysroot on
Linux (the platform of the how-to).

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130910/84f441b6/attachment.html>


More information about the cfe-dev mailing list