Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-13 Thread Mattias Gaertner
On Sun, 13 Dec 2009 10:18:01 +0100 Kjow antispamm...@gmail.com wrote: 2009/12/12 Mattias Gaertner nc-gaert...@netcologne.de: Probably you have somewhere an old ppu from your former experiments in the search path. Add options -vu -vt to find out where it is. No, I don't have any old ppu. I

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-13 Thread Kjow
2009/12/13 Mattias Gaertner nc-gaert...@netcologne.de: You have a /home/kjow/.fpc.cfg ? Yes, it is: #INCLUDE /etc/fpc.cfg #DEFINE DEMOTEST #DEFINE DEMOTEST1 #DEFINE LAZARUS -Fu/usr/lib/fpc/2.5.1/units/$fpctarget/* -Fl/usr/lib/fpc/2.5.1/units/$fpctarget/rtl/ -Fu/home/kjow/lazarus/lcl/

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-13 Thread Mattias Gaertner
On Sun, 13 Dec 2009 12:21:43 +0100 Kjow antispamm...@gmail.com wrote: 2009/12/13 Mattias Gaertner nc-gaert...@netcologne.de: [...] -Fu/home/kjow/lazarus/lcl/ -Fi/home/kjow/lazarus/lcl/include/ -Fu/home/kjow/lazarus/lcl/nonwin32/ These are some of the lcl source paths. Adding the lcl

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-13 Thread Kjow
2009/12/13 Mattias Gaertner nc-gaert...@netcologne.de: -Fu/home/kjow/lazarus/lcl/ -Fi/home/kjow/lazarus/lcl/include/ -Fu/home/kjow/lazarus/lcl/nonwin32/ These are some of the lcl source paths. I removed these and, now themes.pas not found... Lazarus IDE: Hint: Start of reading config file

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-13 Thread Mattias Gaertner
On Sun, 13 Dec 2009 17:01:45 +0100 Kjow antispamm...@gmail.com wrote: 2009/12/13 Mattias Gaertner nc-gaert...@netcologne.de: -Fu/home/kjow/lazarus/lcl/ -Fi/home/kjow/lazarus/lcl/include/ -Fu/home/kjow/lazarus/lcl/nonwin32/ These are some of the lcl source paths. I removed these and,

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-13 Thread Kjow
2009/12/13 Mattias Gaertner nc-gaert...@netcologne.de: Check with -vut. Probably you have still some wrongly created ppu from your former try in ~/dev/TestARM/LazARM Perfect, there was this problem. A lot of trash in project dir. With a new project I have: /home/kjow/lazarus/fpc/binutils/ld:

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-12 Thread Mattias Gaertner
On Sat, 12 Dec 2009 00:44:58 +0100 Kjow antispamm...@gmail.com wrote: 2009/12/11 Kjow antispamm...@gmail.com: I tried with: make lcl LCL_PLATFORM=gtk2 CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=/home/kjow/lazarus/fpc/binutils/ FPC=/usr/lib/fpc/2.5.1/ppcrossarm OPT=-CfSOFT -Xd -Sd

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-12 Thread Kjow
2009/12/12 Mattias Gaertner nc-gaert...@netcologne.de: ~/lazarus/$ sudo make clean all CPU_TARGET=arm OS_TARGET=linux PP=/usr/local/bin/ppcarm OPT=-FU/usr/lib/fpc/2.5.1/units/arm-linux/ This puts all ppu files to /usr/lib/fpc/2.5.1/units/arm-linux/. Normally every project/package has it's own

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-12 Thread Mattias Gaertner
On Sat, 12 Dec 2009 11:40:41 +0100 Kjow antispamm...@gmail.com wrote: 2009/12/12 Mattias Gaertner nc-gaert...@netcologne.de: ~/lazarus/$ sudo make clean all CPU_TARGET=arm OS_TARGET=linux PP=/usr/local/bin/ppcarm OPT=-FU/usr/lib/fpc/2.5.1/units/arm-linux/ This puts all ppu files to

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-12 Thread Kjow
2009/12/12 Mattias Gaertner nc-gaert...@netcologne.de: Thank you very much, Mattias. You are very gentle. This is automatically done by the IDE. Just start the IDE in a terminal, compile a package normally and see what it does. I wrote a few hints here:

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-12 Thread Mattias Gaertner
On Sat, 12 Dec 2009 14:49:51 +0100 Kjow antispamm...@gmail.com wrote: 2009/12/12 Mattias Gaertner nc-gaert...@netcologne.de: Thank you very much, Mattias. You are very gentle. This is automatically done by the IDE. Just start the IDE in a terminal, compile a package normally and see

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-11 Thread Kjow
Hi again, I'm tring to compile from lazarus a simple form with a button for gtk2 arm-linux... In lazarus I get this error: ... Recompiling WSLCLClasses, checksum changed for LCLProc wslclclasses.pp(32,56) Fatal: Can't find unit WSLCLClasses used by LCLClasses FPC seems to works ok from

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-11 Thread Mattias Gaertner
On Fri, 11 Dec 2009 19:02:42 +0100 Kjow antispamm...@gmail.com wrote: Hi again, I'm tring to compile from lazarus a simple form with a button for gtk2 arm-linux... In lazarus I get this error: ... Recompiling WSLCLClasses, checksum changed for LCLProc wslclclasses.pp(32,56) Fatal:

Re: [Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-11 Thread Kjow
2009/12/11 Kjow antispamm...@gmail.com: I tried with: make lcl LCL_PLATFORM=gtk2 CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=/home/kjow/lazarus/fpc/binutils/ FPC=/usr/lib/fpc/2.5.1/ppcrossarm OPT=-CfSOFT -Xd -Sd I tried also, in lazarus root, but: ~/lazarus/$ sudo make clean all

[Lazarus] [Partially Solved] Cross Compile for arm-linux

2009-12-10 Thread Kjow
Hi all, I'm writing a tutorial to cross compile for arm-linux, but there are some problems yet. Here first revision: http://forum.lazarus.freepascal.org/index.php/topic,8084.0.html I don't know if all steps are right, infact FPC compile simplest code and my arm-linux device runs that, but I can't