I’m trying to compile mbedtls for use in a mobile program, and I cannot figure out how to configure it to cross-compile for ARM, nor can I find any documentation describing the process. There does not seem to be a clear way in the Makefile to do this. The website touts iOS and Android compatibility as a feature, so I believe it should be possible, but I have no clue where to start with it. I am working on a cross-platform app and am starting with the iOS bridge, but I will also need to compile it for use in Android as well, which would also require cross-compilation in ARM, and I would imagine it will require use of the iOS/Android NDK frameworks for standard library functionality.
Does anyone have an idea of how to do this or where to start looking for documentation?