Pascal and C - C++ for Android lazarus / 43-Android ---------------------------------------------------------------------- GonzaloM · 2019-11-17 22:06 Hi there people! New guy here, greetings from Argentina! I am also very new to Pascal and programming in general, so if you could please ELI5 this for me: I'm planning on writing a Pascal wrapper for several libraries on C - C++. I know they can be compiled together using GCC (http://alignment. hep.brandeis.edu/Software/Mixing/Mixing_Manual.html), and I also know FPC can compile for Android. What I do not know is whether both things can be done at the same time. Could I write a Pascal + C/C++ application and compile it for Android, among other targets? Thank you very much in advance! ---------------------------------------------------------------------- dbannon · 2019-11-18 00:38 maybe - https://wiki.freepascal.org/Creating_bindings_for_C_libraries Davo ---------------------------------------------------------------------- lainz · 2019-11-18 02:21 So you create a pascal header for a C library, then make the pascal code a library to use with Android Studio? Or you will compile your android application with Lazarus? If is the second, then I think it will be more easy, since you don't need to compile a .so for Android Studio and debug it, you will debug it with Lazarus. "Dll inception", a dll requiring another dll, never did something like that so I can't say.