[fpc-pascal] In EABI ARM rootdisk dynamic linker is not named ld-linux.so.2

josepascual josepascual at almudi.com
Wed Jul 4 20:34:40 CEST 2007


Hi developer of freepascal (for arm) et all

I have tried a freepascal program for arm EABI. I have created a ppcrossarm
with SOFTFLOAT with binutils for EABI.
Freepascal program compiled okey but When I run it in ARM board (with
rootdisk EABI) I received a "FILE NOT FOUND"

It was due that ld-linux.so is not ld-linux.so.2 but ld-linux.so.3 (in order
to allow libraries for OABI and EABI in the 
same rootdisk at the same time).

problem can be resolved with a symbolic link or patching in
./compiler/systems/t_linux.pas

Simbolic link breaks possibility to allow libraries for OABI and EABI where
place 
in same rootdisk running OABI program and EABI program at the same time.

What is your opinion? (I'm very novice in EABI world so it's really possible
I'm wrong)
how does program detect to use dynamic linker ld-linux.so.2 or
ld-linux.so.3?
Should it be possible detect if fpc compiler has built with eabi toolschain
or are using eabi toolchain to generate
compiled programs?

best regards

Jose Pascual




More information about the fpc-pascal mailing list