[cfe-dev] clang -E -o support
Chris Lattner
clattner at apple.com
Sun Jan 27 15:55:47 PST 2008
On Jan 27, 2008, at 11:56 AM, Shantonu Sen wrote:
> To be more compatible with gcc, clang should support outputting
> preprocessed source to a file, instead of relying on shell
> redirection. The attached patch allows "clang -E a.c -o a.i" to
> work. In fact, it supports the following:
> I also compiled PrintPreprocessedOutput.cpp with USE_STDIO set to 1
> on Mac OS X, so I believe that codepath should work as well.
Excellent, thanks Shantonu!
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080121/003943.html
-Chris
More information about the cfe-dev
mailing list