[fpc-devel] MIPS big-endian program starts but does nothing
reinierolislagers at gmail.com
Mon Sep 8 20:25:26 CEST 2014
On 08/09/2014 20:05, Sven Barth wrote:
> Could you please recompile FPC with OPT="-gl" (maybe also -O-) and
> compile your test program with that options as well and then retest the
> GDB run?
fpc -Tlinux -Pmips -CpMIPS32R2 -gl -O- hellomips.lpr
dlopen failed on 'libthread_db.so.1' - File not found
GDB will not be able to debug pthreads.
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mips-openwrt-linux"...
Starting program: /usbstorage/backup/hellomips
Program received signal SIGINT, Interrupt.
GET_FSR () at C:/development/fpctrunk/rtl/mips/mips.inc:21
21 C:/development/fpctrunk/rtl/mips/mips.inc: No such file or
Current language: auto; currently pascal
#0 GET_FSR () at C:/development/fpctrunk/rtl/mips/mips.inc:21
#1 0x00401b5c in SYSINITFPU () at
#2 0x00401bd0 in FPC_CPUINIT ()
#3 0x00429bb8 in fpc_initializeunits ()
#4 0x0040019c in main () at hellomips.lpr:16
More information about the fpc-devel