[Lazarus] Do FPC generates old EABI code?

Kjow antispammoni at gmail.com
Tue Dec 15 00:39:47 CET 2009


2009/12/14 Kjow <antispammoni at gmail.com>:
> I don't understand... Now I forced to use as -meabi=5 , but there are
> still errors. I compiled Lazarus lcl, from the IDE. FPC uses the same
> binutils that Lazarus.

Ok... it seems that lazarus doesn't use my own binutils path. So I
"tricked" original arm-linux-as to force -meabi=5 and it seems to
work.

But it is not the end... there will be an end?

Hint: Start of reading config file /home/kjow/.fpc.cfg
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Hint: End of reading config file /home/kjow/.fpc.cfg
Free Pascal Compiler version 2.5.1 [2009/12/14] for arm
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for ARM
Compiling project1.lpr
Assembling project1
Linking /home/kjow/dev/LazARM/project1
/home/kjow/lazarus/fpc/libcross/libexpat.so.1: undefined reference to
`__aeabi_unwind_cpp_pr1 at GCC_3.5'
/home/kjow/lazarus/fpc/libcross//libglib-2.0.so: undefined reference
to `__aeabi_unwind_cpp_pr0 at GCC_3.5'
project1.lpr(22) Error: Error while linking
/home/kjow/lazarus/fpc/libcross/libexpat.so.1: undefined reference to
`__aeabi_unwind_cpp_pr1 at GCC_3.5'
/home/kjow/lazarus/fpc/libcross//libglib-2.0.so: undefined reference
to `__aeabi_unwind_cpp_pr0 at GCC_3.5'
project1.lpr(22) Error: Error while linking
project1.lpr(22) Fatal: There were 1 errors compiling module, stopping


Why... WHy... WHY?! I'm mortified... I don't know how to solve, where
to find... almost to the end, is this a game over?




More information about the Lazarus mailing list