Hi felipemdc,I try to use the pre-compile as you said .at the Step 2 - Configure the cross-binutils,I remember I did When I setup cross-compiler for ARM,so I go to the Step 3 directly,finally I configured the Step 4 correctly. But When I build in the lazarus ,I meet another error:
Options changed, recompiling clean with -B
Hint: Start of reading config file /home/hotcyy/.fpc.cfg
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Hint: End of reading config file /home/hotcyy/.fpc.cfg
Free Pascal Compiler version 2.5.1 [2011/01/19] for arm
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Linux for ARMEL
Compiling ndkopengltest.pas
Compiling /home/hotcyy/lazarus-ccr/bindings/android-ndk/gles.pas
Assembling gles
/home/hotcyy/lazarus-ccr/bindings/android-ndk/gles.pas(810) Error: Assembler /home/hotcyy/lazarus/fpc/binutils/as not found, switching to external assembling
/home/hotcyy/lazarus-ccr/bindings/android-ndk/gles.pas(810) Fatal: There were 1 errors compiling module, stopping
but the file "as " (soft link) is exist and it could be opened[ "#!/bin/sh /usr/local/bin/arm-linux-as_org -meabi=5 $@" ] . tips:fpc :2.4.2 ;ppcrossarm:2.5.1. I also check the file (.fpc.cfg) -XP path is correct (/home/hotcyy/lazarus/fpc/binutils/)..So I dont know why .Thank you !