[fpc-pascal] Program exited with code 01

josepascual (almudi) josepascual at almudi.com
Fri May 4 10:28:13 CEST 2007

Hi Everyone,

I have compiled hello_eabi_arm (hello world!) with ppcrossarm and -GfSOFT

I can run a hello world program with no problem (ldd say me there is not
libraries needed)
but if I use dl.pp I received next error (write below), ldd say libdl and
libc.so.6 are needed.

any suggestion? how can I discover what file or directory is missing for

>$ ./hello_eabi_arm
-bash: ./ hello_eabi_arm: No such file or directory 

>$ gdb hello_eabi_arm 

GNU gdb 6.5-debian Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "arm-linux-gnueabi"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /tmp/hello_eabi_arm
/bin/bash: /tmp/hello_eabi_arm: No such file or directory
/bin/bash: /tmp/hello_eabi_arm: Success

Program exited with code 01.
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers and track explicitly
loaded dynamic code.
You can't do that without a process to debug.


Jose Pascual

More information about the fpc-pascal mailing list