Re: [fpc-pascal] linker error when cross compile for arm

2010-11-07 Thread Michael Fung
Many Thanks Jonas! Now I know my SDK may be broken. Rgds, Michael On 2010/11/8 上午 05:06, Jonas Maebe wrote: > > On 06 Nov 2010, at 04:18, Michael Fung wrote: > >> But when I try to compile a program with the synapse units it gives the >> following error: >> >> /usr/lib/fpc/2.5.1/units/arm-linu

Re: [fpc-pascal] linker error when cross compile for arm

2010-11-07 Thread Jonas Maebe
On 06 Nov 2010, at 04:18, Michael Fung wrote: > But when I try to compile a program with the synapse units it gives the > following error: > > /usr/lib/fpc/2.5.1/units/arm-linux/rtl/cprt0.o: In function > `_haltproc_eabi': > (.text+0x88): undefined reference to `_fini' > /usr/lib/fpc/2.5.1/units

[fpc-pascal] linker error when cross compile for arm

2010-11-05 Thread Michael Fung
Dear all, I followed the wiki at: http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM After that, I can compile a hello world program for arm without problem, great! But when I try to compile a program with the synapse units it gives the following error: /usr/lib/fpc/2.5.1/units/ar