[fpc-pascal] linking with libc in ppcrossarm

Jose Pascual josepascual at almudi.com
Mon May 16 14:05:08 CEST 2005


Hi

I have been making test to new ppcarm releas (1.9.9) and I 
have found a old problem with cprtO.o 

----------------------------------------------------
 Linking test_libc
 /usr/local/lib/fpc/1.9.9/units/arm-linux/rtl/cprt0.o(.text+0x6
 4): In function `_haltproc':
 : undefined reference to `_fini'
 /usr/local/lib/fpc/1.9.9/units/arm-linux/rtl/cprt0.o(.text+0x6
 c): In function `_haltproc':
 : undefined reference to `_init'
 example_libc.pas(21) Error: Error while linking
 -----------------------------------------------------
 with arm-linux-nm I can find label _init and _fini, but it 
 seems to be empty, 
 -------------------------------------------
 00000000 t $a
          U abort
 00000000 d $d
 00000000 r $d
 00000058 t $d
 00000000 D __data_start
 00000000 W data_start
          U _fini
 00000048 T _haltproc
          U _init
          U __libc_start_main
 00000004 C operatingsystem_parameter_argc
 00000004 C operatingsystem_parameter_argv
 00000004 C operatingsystem_parameter_envp
          U operatingsystem_result
          U PASCALMAIN
 00000000 T _start
 ------------------------------------------
 
 
thank you in advanced

kind regards





More information about the fpc-pascal mailing list