[LLVMdev] how to get -ast-print to work?

Marko Schütz MarkoSchuetz at web.de
Wed Feb 3 05:13:51 PST 2010


I have clang from 2010-01-22 installed. 

I'm interested in using the AST, but:

marko at prpad:tmp% clang -cc1 col.c -ast-print
gcc: unrecognized option '-cc1'
/tmp/cc-15456a.s: Assembler messages:
/tmp/cc-15456a.s:4: Warning: unterminated string; newline inserted
/tmp/cc-15456a.s:5: Warning: unterminated string; newline inserted
gcc: unrecognized option '-cc1'

How can I use -ast-print?

Best regards and thanks in advance,

Marko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100203/05e54c98/attachment.sig>


More information about the llvm-dev mailing list