Forum > Android

Compiler "/usr/bin/fpc" does not support target arm-linux

(1/4) > >>

Fortuna1:
Compiler "/usr/bin/fpc" does not support target arm-linux

I tray build       /usr/lib/lazarus/examples/androidlcl/androidlcltest.lpr

lazarus IDE 1.1.         Linux i686
and

install
../../../android-ndk-r7/platforms/android-8/arch-arm/usr/lib;../../../android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/lib/gcc/arm-linux-androideabi/4.4.3

What is wrong!

Leledumbo:
Have you got the arm-linux cross compiler (ppcrossarm in your fpc bin directory)?

felipemdc:
How did you configure your setup? Are you using the virtualbox image? If yes, then this is a wrong warning, just ignore it and everything works fine.

Fortuna1:
android-ndk-r8
android-sdk-linux

binutils-2.22
linux  is fendora 15

/usr/lib/lazarus
/usr/lib/fpc/2.6.0

How install  arm-linux cross compiler (ppcrossarm)

cd  binutils-2.20
./configure --target=arm-linux --disable-werror
make
sudo make install

mkdir /usr/lib/fpc/binutils

ln -s /usr/local/bin/arm-linux-ar /usr/lib/fpc/fpc/binutils/ar
ln -s /usr/local/bin/arm-linux-ld /usr/lib/fpc/binutils/ld
sudo mv /usr/local/bin/arm-linux-as /usr/local/bin/arm-linux-as_org
 
sudo gedit /usr/local/bin/arm-linux-as
paste
#!/bin/sh
/usr/local/bin/arm-linux-as_org -meabi=5 $@

sudo chmod +x /usr/local/bin/arm-linux-as
ln -s /usr/local/bin/arm-linux-as /usr/lib/fpc/binutils/as

Here is the problem what next?
I need help




















felipemdc:
What is the compiler output? The message "Compiler "/usr/bin/fpc" does not support target arm-linux" is just a IDE warning which can be ignored, so you haven't so far shown any kind of compiler error message.

Navigation

[0] Message Index

[#] Next page

Go to full version