Hi All,
I'm wondering what the best way to compile purecap c++ applications is?
Currently I'm running Android nano on the development board following the instructions in the user guide. I have successfully compiled c applications using the musl c library but now have a dependency on a c++ application.
I can't find a purecap libc++ within the morello_workspace. Is there a library available?
Thanks,
Sam.
Hi Sam,
In combination with Android nano, it might be easiest to use the Pure-cap support and libraries which are integrated in the Android/Morello already i.e. Bionic standard C library etc.The base Pure-cap support in Android/Morello is fairly comprehensive - including dynamic linkage etc.
libcxx in Android/Morello is also already supported there to a large extent (a few Pure-cap binaries are using it) however isn't being comprehensively tested yet. It is automatically built as part of the Android/Morello build.
Would it be suitable for your use-case?
To the best of my knowledge, libc++ for Linux (non-Android) environment isn't available in the binary form yet.
However, if FreeBSD-like environment is suitable, it would be worth considering the CheriBSD as well.
Best regards,Ruben
I'm happy to try Android/Morello. Would this require swapping to a Blueprint / soong build?
> Would this require swapping to a Blueprint / soong build?