Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-14 Thread Hartmut Eilers
> Date: Wed, 9 Dec 2009 10:19:52 + > From: Henry Vermaak > Subject: Re: [fpc-pascal] Linking Problems while cross compiling for >        arm > To: FPC-Pascal users discussions > Message-ID: >         > Content-Type: text/plain; charset=ISO-8859-1 > > 2009/12/9

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-09 Thread Henry Vermaak
2009/12/9 Marco van de Voort : > In our previous episode, Dariusz Mazur said: >> Its not for me, I pass through crosscompiling,  but I want to make it >> simpler, > > As this thread clearly demonstrates, the problem with crosscompiling is > understand what happens, and diagnose problems. Not typing

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-09 Thread Marco van de Voort
In our previous episode, Dariusz Mazur said: > Its not for me, I pass through crosscompiling, but I want to make it > simpler, As this thread clearly demonstrates, the problem with crosscompiling is understand what happens, and diagnose problems. Not typing when adding parameters. On the contra

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-09 Thread Jonas Maebe
On 09 Dec 2009, at 10:35, Dariusz Mazur wrote: Jonas Maebe pisze: On 08 Dec 2009, at 23:25, Dariusz Mazur wrote: By the way: when XR path is set then XP should be default, but its not -XP is set by /etc/fpc.cfg if the source cpu is different from the target CPU, and if the source and t

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-09 Thread Dariusz Mazur
Jonas Maebe pisze: On 08 Dec 2009, at 23:25, Dariusz Mazur wrote: By the way: when XR path is set then XP should be default, but its not -XP is set by /etc/fpc.cfg if the source cpu is different from the target CPU, and if the source and target OS are not both Darwin (because on Mac

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-08 Thread Jonas Maebe
On 08 Dec 2009, at 23:25, Dariusz Mazur wrote: > By the way: > when XR path is set then XP should be default, but its not -XP is set by /etc/fpc.cfg if the source cpu is different from the target CPU, and if the source and target OS are not both Darwin (because on Mac OS X, the default as/ld c

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-08 Thread Dariusz Mazur
Jonas Maebe pisze: On 08 Dec 2009, at 15:06, Dariusz Mazur wrote: Hartmut Eilers pisze: DeviceServer.pas(609,2) Error: Error while linking DeviceServer.pas(609,2) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted ubu...@kubuntu904:~/OpenLabTools/DeviceServer

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-08 Thread Jonas Maebe
On 08 Dec 2009, at 15:06, Dariusz Mazur wrote: Hartmut Eilers pisze: DeviceServer.pas(609,2) Error: Error while linking DeviceServer.pas(609,2) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted ubu...@kubuntu904:~/OpenLabTools/DeviceServer$ ls /usr/local/xto

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-08 Thread Dariusz Mazur
Hartmut Eilers pisze: Hallo List, thanks for your first and fast response. According to the suggestions from Marco and Jonas I try it this way: ubu...@kubuntu904:~/OpenLabTools/DeviceServer$ /usr/local/bin/ppcrossarm -CfFPA -dUSB92 -CaARMEB -CpARMV5 -darm -dFPC_ARMEL -gl -Fu../webserver -Fu..

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-07 Thread Dariusz Mazur
Hartmut Eilers pisze: Hallo List, thanks for your first and fast response. According to the suggestions from Marco and Jonas I try it this way: ubu...@kubuntu904:~/OpenLabTools/DeviceServer$ /usr/local/bin/ppcrossarm -CfFPA -dUSB92 -CaARMEB -CpARMV5 -darm -dFPC_ARMEL -gl -Fu../webserver -Fu..

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-07 Thread Marco van de Voort
In our previous episode, Jonas Maebe said: > > I don't know whether this means that you are missing some development > package, whether this means that you should never explicitly link any > program against libdl on uclibc systems, or something else. The libc+dl separation might be a glibcism

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-07 Thread Jonas Maebe
On 07 Dec 2009, at 13:41, Hartmut Eilers wrote: ubu...@kubuntu904:~/OpenLabTools/DeviceServer$ /usr/local/bin/ppcrossarm -CfFPA -dUSB92 -CaARMEB -CpARMV5 -darm -dFPC_ARMEL -gl -Fu../webserver -Fu../PhysMach -Fu../divLibs/pwu-1.6.0.2-src/main/ -FL/usr/xtools/arm-unknown-linux-uclibc/arm-unknow

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-07 Thread Hartmut Eilers
Hallo List, thanks for your first and fast response. According to the suggestions from Marco and Jonas I try it this way: ubu...@kubuntu904:~/OpenLabTools/DeviceServer$ /usr/local/bin/ppcrossarm -CfFPA -dUSB92 -CaARMEB -CpARMV5 -darm -dFPC_ARMEL -gl -Fu../webserver -Fu../PhysMach -Fu../divLibs/

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-07 Thread Jonas Maebe
On 07 Dec 2009, at 10:46, Hartmut Eilers wrote: I try to crosscompile one of my projects to the arm based USB9263 from Calao Systems (http://www.calao-systems.com/articles.php?lng=en&pg=5932) I get the following linking error: ubu...@kubuntu904:~/OpenLabTools/DeviceServer$ /usr/local/bin/ppcr

Re: [fpc-pascal] Linking Problems while cross compiling for arm

2009-12-07 Thread Marco van de Voort
In our previous episode, Hartmut Eilers said: > > I try to crosscompile one of my projects to the arm based > USB9263 from Calao Systems > (http://www.calao-systems.com/articles.php?lng=en&pg=5932) > > I get the following linking error: > > /usr/local/lib/fpc/2.4.0/units/arm-linux/rtl/cprt0.o: I

[fpc-pascal] Linking Problems while cross compiling for arm

2009-12-07 Thread Hartmut Eilers
Hallo List, I try to crosscompile one of my projects to the arm based USB9263 from Calao Systems (http://www.calao-systems.com/articles.php?lng=en&pg=5932) I get the following linking error: ubu...@kubuntu904:~/OpenLabTools/DeviceServer$ /usr/local/bin/ppcrossarm -CfFPA -dUSB92 -CaARMEB -CpARMV