[LLVMdev] A question about 'llc -march=c'

Anton Korobeynikov anton at korobeynikov.info
Tue Dec 8 07:32:22 PST 2009


> 'llc -march=c'. But it seems to me that it doesn't work if the source
> program is a C++ program. Am I right?
No. You haven't linked libstdc++ in your case. So, you either have to
provide -lstdc++ or link via g++.

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-dev mailing list