Compiling LLVM libraries for Android

Hi,

I’m compiling LLVM libraries for android platform using android nk r4 from crystax that supports c++ and rtti libs.
I’m facing the problem that there gcc compiler doesn’t support __clear_cache function of Memory.cpp (line 699) for the librarie LLVMSystem. Is there a way to bypass this limitation without puts a comment on this line?

Regards
Jérôme Gorin

The function must be ported to Android.

See how at http://code.google.com/p/android/issues/detail?id=1803

You may need to embed the code inside an #if defined(__ANDROID__)
block.