[cfe-commits] r134066 - /cfe/trunk/include/clang/Driver/ToolChain.h
Rafael Ávila de Espíndola
rafael.espindola at gmail.com
Wed Jun 29 15:50:35 PDT 2011
> My point is that, apart from on Darwin, the installed Objective-C
> runtime is not part of the platform description. If you are
> targeting Linux or Windows, then there are at least three Objective-C
> runtimes that you might be using.
>
> Even on Darwin it doesn't make much sense. The GCC runtime works on
> Darwin - if someone installs the GCC 4.6 runtime on OS X, then clang
> will refuse to use features that are not supported by the version of
> the runtime that the version of Apple libobjc that ships with the OS
> does not support.
This looks similar (or part of) the general "non default driver"
problem. We would like for clang to behave like the system compiler by
default, but it should be possible to support things like using a
libstdc++ installed in a different directory or a target a particular
cpu by default.
Unfortunately, there is very little support for that in the driver right
now.
Cheers,
Rafael
More information about the cfe-commits
mailing list