Okay Leledumbo, I'll try to install the binutils repository of my distro, to see if it works.
Still got one doubt. Created a test.pas file with the content:
program test;
begin
writeln('DATE ',{$i %DATE%});
writeln('FPCTARGET ',{$i %FPCTARGET%});
writeln('FPCTARGETCPU ',{$i %FPCTARGETCPU%});
writeln('FPCTARGETOS ',{$i %FPCTARGETOS%});
writeln('FPCVERSION ',{$i %FPCVERSION%});
end.
and executed:
$ fpc -Tlinux -Parm -XParm-linux- test.pas
The console showed the text below and generated all files to ARM platform with successfully:
Free Pascal Compiler version 2.6.4 [2014/08/24] for arm
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Linux for ARMEL
Compiling test.pas
Assembling test
Linking test
8 lines compiled, 0.4 sec
Is that really the problem is the beanutils or lazarus? Using the fpc command to compile the test.pas it works but when I try to "Configure Lazarus for cross Compile" generates errors.
I think the team lazarus should provide a version that is configured for this purpose.