Am 16.11.2011 10:33, schrieb Marco van de Voort:
In our previous episode, Sven Barth said:
Android isn't a different architecture (if you consider native applications), 
but a different OS. It uses a Linux kernel (although even that one is heavily 
patched, afaik), and user land is obviously quite different (including the C 
library and the dynamic linker).

But FPC also supports different C libraries (at least glibc and uclibc).

Do we?  Formally I mean?  A few patches that allow interested people to play
with it, is something else from a supported target.

I don't know whether it's formally, but the compiler contains enough code to automatically detect the c libary (from the set of supported c libraries) you are using. It doesn't even matter whether you're cross compiling or not (though the first requires some further options so that the compiler detects the library of the target system and not your own). I personally use that feature for a small uclibc based Linux system of mine and so far(!) it works.

Regards,
Sven

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to