[cfe-dev] -cc1 and -m64 incompatible?
rideau3 at gmail.com
Thu Jan 21 11:40:02 CST 2010
2010/1/21 Daniel Dunbar <daniel at zuster.org>:
> I plan to write better documentation of the clang / -cc1 split for
> developers at some point (definitely by 2.7, perhaps sooner). Feel
> free to nag me.
> As far as exposing the additional clang features at a nicer level, I
> think it would probably make sense to do this via a different tool
> (not clang), which implements a driver-like interface, but is designed
> for targeting additional clang tools. That way we don't need to worry
> about the syntax of the command line arguments and how they impact
> clang/gcc. Something like:
> $ clang-tool --action=ast-print ... the usual set of driver arguments ...
> - Daniel
I for one would love to see this; I sometimes consider it to be a bit
of a misfeature that we support options exactly the way GCC does. In
my opinion, it might be nice to make the 'clang' driver have options
that we've worked out and then have a 'clang -gcc' driver for
compatibility, or something similar.
More information about the cfe-dev