<div dir="ltr">Hi there.<div><br></div><div>I'm still trying to compile libclang.so for ARM android and it's just a hell ;)</div><div><br></div><div>* On mac linker does not support 'with-version' argument (i've asked for it and did not get any solution except DIY)</div>
<div>* on linux 64 bit (VM) it's including "-L/lib64" to linker and it fails to link</div><div>* compiled with armeabihf toolchain can't be  linked as ndk does not support linking with hard-float.</div><div>
* compiled with armeabi toolchain can't be loaded as it fails to find libdl.so.2.</div><div>* compilation with standalone toolchain from android ndk fails because of futimes() and futimens() function not found.</div><div>
<br></div><div>Last time i've found <a href="https://android.googlesource.com/platform/external/llvm/">https://android.googlesource.com/platform/external/llvm/</a> repo (also externa/clang and external/compiler-rt)</div>
<div>but they can't be compiled using standalone toolchain from ndk because of source code errors ("master" branch because of cast error, "jb-release" because of no getsid() function definition). This repo seems to be internal source code which can be not ready to be used for not android OS developer, so no wonder.</div>
<div><br></div><div>Is there anyone who did it once (or who can do it) at least (since i'm android developer and it's pretty difficult to solve all this issues for me)?</div><div><br></div></div>