[LLVMdev] LLVM and newlib progress
Scott Michel
scottm at rushg.aero.org
Thu Nov 9 11:11:25 PST 2006
Pertti Kellomäki wrote:
> Chris Lattner kirjoitti:
>
>>llvm-gcc defines __llvm__.
>
>
> Thanks. I thought I tried it, but apparently not.
Try:
<path-to-llvm-gcc-install>/llvm-cpp -dM /dev/null | grep -y llvm
llvm-cpp should be installed if you built the gcc frontend. Mine reports
__llvm__.
BTW: Would be nice if the frontend defined a manifest constant if it is
generating byte code vice generating native. But that's a refinement for
another day...
-scooter
More information about the llvm-dev
mailing list