Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Kjow
2009/12/15 dar...@emadar.com: Should be   Target OS: Linux for ARMEL You have to recompile crosscompiller Its not EABI (see my descuss with Jonas on fpc-devel) make crosssinstal OPT=-dFPC_ARMEL ... This is the command that I used to make crosscompiler: sudo make crossinstall

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Dariusz Mazur
Kjow pisze: 2009/12/15 dar...@emadar.com: Should be Target OS: Linux for ARMEL You have to recompile crosscompiller Its not EABI (see my descuss with Jonas on fpc-devel) make crosssinstal OPT=-dFPC_ARMEL ... This is the command that I used to make crosscompiler: sudo make

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Florian Klaempfl
Dariusz Mazur schrieb: Kjow pisze: 2009/12/15 dar...@emadar.com: Should be Target OS: Linux for ARMEL You have to recompile crosscompiller Its not EABI (see my descuss with Jonas on fpc-devel) make crosssinstal OPT=-dFPC_ARMEL ... This is the command that I used to make

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Kjow
2009/12/15 Florian Klaempfl flor...@freepascal.org: Please, don't spread the nonsense of -CfSOFT -CaEABI, it's neither needed nor desired. -dFPC_ARMEL is enough. Neither is -dFPC_ARMEL needed  in CROSSOPT. It is only needed when the first arm compiler is built and in this case OPT=-dFPC_ARMEL

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Kjow
2009/12/15 Kjow antispamm...@gmail.com: sudo make crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=/home/kjow/lazarus/fpc/binutils/ OPT=-dFPC_ARMEL INSTALL_PREFIX=/usr I rewrote my guide how to cross compile starting from sources, this is the result:

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Florian Klaempfl
Dariusz Mazur schrieb: I know too few to say to omit some options Jonas say about: CROSSOPT=-dFPC_ARMEL This is not needed. last time when I ask about reduction options everyone blame me but how compiler know, that FPU is present or absent (-CfSOFT)? armel has by default no fpu or

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread darekm
but how compiler know, that FPU is present or absent (-CfSOFT)? armel has by default no fpu or whatever. Thx needed nor desired. -dFPC_ARMEL is enough. Neither is -dFPC_ARMEL needed in CROSSOPT. It is only needed when the first arm compiler is built and in this case OPT=-dFPC_ARMEL

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Florian Klaempfl
dar...@emadar.com schrieb: Can I ask: What is difference between CPU_TARGET=arm (with -CaEABI) and armel seems, that first not produce proper EABI code though it say it is (readelf status) its normal or bug or unexpected behaviour ? Undefined behaviour. readelf just checks the header of the

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Kjow
2009/12/15 Florian Klaempfl flor...@freepascal.org: Please, don't spread the nonsense of -CfSOFT -CaEABI, it's neither needed nor desired. -dFPC_ARMEL is enough. Neither is -dFPC_ARMEL needed  in CROSSOPT. It is only needed when the first arm compiler is built and in this case OPT=-dFPC_ARMEL

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-15 Thread Kjow
2009/12/15 dar...@emadar.com: Should be   Target OS: Linux for ARMEL You have to recompile crosscompiller Its not EABI (see my descuss with Jonas on fpc-devel) make crosssinstal OPT=-dFPC_ARMEL ... Yes, now with the suggestions about OPT: sudo make crossinstall CPU_TARGET=arm

[Lazarus] Do FPC generates old EABI code?

2009-12-14 Thread Kjow
Hi all again, I think that I'm almost at the end of my path to make Lazarus able to build for arm-linux graphical projects. It compiles and it seems to link right, I found all target libs I need (I grabbed most of these from sdk), but almost at the end I have this error: ...

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-14 Thread Dariusz Mazur
Kjow pisze: Hi all again, I think that I'm almost at the end of my path to make Lazarus able to build for arm-linux graphical projects. It compiles and it seems to link right, I found all target libs I need (I grabbed most of these from sdk), but almost at the end I have this error: ...

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-14 Thread Kjow
2009/12/14 Dariusz Mazur dar...@emadar.com: did you compile FPC and libcross with the same binutils? how you made crossppcarm ? to read EABI version you may use readelf -a ./linX11.so. I started from latest sources and compiled binutils, fpc and lazarus myselft in a fresh ubuntu installation,

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-14 Thread Kjow
2009/12/14 Kjow antispamm...@gmail.com: I'm going to try! 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. Hint: Start of reading config file /home/kjow/.fpc.cfg Hint: Start of

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-14 Thread Kjow
2009/12/14 Kjow antispamm...@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

Re: [Lazarus] Do FPC generates old EABI code?

2009-12-14 Thread darekm
2009/12/14 Kjow antispamm...@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