[fpc-devel] How to build Win32 FPC compiler for linux-arm devices?
Vincent Snijders
vsnijders at quicknet.nl
Wed Jan 31 00:03:42 CET 2007
Daniël Mantione schreef:
>
> Op Tue, 30 Jan 2007, schreef Vincent Snijders:
>
>> Daniël Mantione schreef:
>>> Op Mon, 29 Jan 2007, schreef Michael Schnell:
>>>
>>>> For compiling for ARM a cross compiler is necessary anyway,
>>> Yes, but, the big difference is that the ARM cross compiler for Linux is
>>> an official FPC release and therefore useable without digging into the
>>> compiler build process. Simply download 2.0.4 for ARM and ready you are.
>>>
>>> There is one big thing I forgot totally forget about in my original
>>> e-mail: Francesco Lombardi did build and upload a Win32 -> ARM Linux
>>> crosscompiler snapshot sime time ago:
>>>
>>> ftp://ftp.freepascal.org/pub/fpc/snapshot/v21/arm-linux
>>>
>> What is the best way to let the compiler find the arm-linux shared libraries
>> that it needs for linking?
>
> Don't use shared libraries :) Seriously, I don't know, this totally
> depends on the exact ARM device. A Thecus like Florian uses will likely
> run a glibc system, but a more limited device like the GP2x will likely
> use an embedded libc, uclibc is very common on ARM devices. An uclibc
> distribution in a directory could be a good approac.
>
For example in c:\fpc\2.1.1\lib\arm-linux ?
Vincent
More information about the fpc-devel
mailing list