Hi,
I have a newfreerunner smartphone and I want to try to develop some application for it. I have searched throught fpc-pascal mailing list and this forum but still I can't figure out how to make it work. I am using lazarus under Linux.
In fact, I couldn't find any rpm for the arm cross compiler. Although, I tried to install fpc-2.2.2.arm-linux.tar based on
http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM (which is out of date-- the links in that page do not work anymore). I created an empty project and set the compiler options/code/Target Platform appropriately. When I tried to compile the project, Lazarus tries to run the following command:
[TCompiler.Compile] CmdLine="/usr/bin/fpc -MObjFPC -Sgi -O1 -Parm -gl -WG -vewnhi -l -Fi/ -Fu/usr/lib/lazarus/lcl/units/arm-linux/ -Fu/usr/lib/lazarus/lcl/units/arm-linux/gtk/ -Fu/usr/lib/lazarus/packager/units/arm-linux/ -Fu. -dLCL -dLCLgtk /tmp/project1.lpr"
and I get the following error:
Error: ppcarm can't be executed, error message: Failed to execute "ppcarm", error code: 127
When I try to run the ppcarm directly from terminal, I get "bash: /usr/bin/ppcarm: cannot execute binary file" error.