Compiling to uClibc [embedded linux] lazarus / 13-General ---------------------------------------------------------------------- Anonymous · 2006-06-26 11:55 Howto compile to uClibc with Lazarus/FPC ? Regards. ---------------------------------------------------------------------- felipemdc · 2006-06-26 12:59 Under Linux, Free Pascal does not use libc at all. The run-time library functions will make kernel syscall directly. So in theory the same free pascal linux software can run on a normal Linux and on a embedded Linux with uclibc. Ok, not really, because the processor architecture can be different. You can download Free Pascal 2.0.0 for ARM-Linux (I am supposing that you device uses ARM processor) here: http://www.freepascal.org/download.html To start with, download Free Pascal for arm-linux, compile simple programas and make sure the cross-compiler is working. There are instructions on the Wiki, but they seam outdated: http://www.freepascal.org/wiki/index.php/Linux_for_ARM To use the latest Lazarus in combination with Free Pascal you will need 2.0.2 version of the compiler. So you may have to build your own compiler. The build process of the compiler is well documented here: http://www.stack.nl/~marcov/buildfaq.pdf Even better if after all of this you can contribute a binary distribution of the arm-linux compiler =) I suppose nothing will have to be changed on the compiler code. It just needs to be rebuilt and tested on arm-linux. For more detailed information on the compiler, please join the Free Pascal mailling list and post a question there. It is a more appropriate place for compiler issues as it´s developers answer questions there. ---------------------------------------------------------------------- Anonymous · 2006-06-28 08:30 No, is for small x86 processors Knowing that don't use libc then will works OK. Kylix use libc (or somebody says it me like explication) and the binaries don't work in uClibc. A lot of thanks ---------------------------------------------------------------------- overpeer · 2006-06-28 08:38 This was I