[Lazarus] Cross-Compile for arm-linux under Windows7PC

2016-01-21 Thread banana
Hi. I tried to install lazarus for arm-linux compiling under Windows7 PC. But It was too difficult to do.. If anyone use or know, Plz let me know how to do. Thank you. -- ___ Lazarus mailing list

Re: [Lazarus] Cross-compile for ARM-Linux on a Windows host????

2011-01-04 Thread Sven Barth
Am 04.01.2011 07:44, schrieb Bo Berglund: On Mon, 03 Jan 2011 10:37:41 -0500, Paul Breneman list2...@brenemanlabs.com wrote: What you want is certainly possible but you might need to learn how to build your own cross-compile FPC and Lazarus. You might consider doing what I did and install

Re: [Lazarus] Cross-compile for ARM-Linux on a Windows host????

2011-01-04 Thread Bo Berglund
On Tue, 04 Jan 2011 09:11:50 +0100, Sven Barth pascaldra...@googlemail.com wrote: Strangely after a while I noticed that STILL my existing FPC was used from my previous install from the windows installer How could the setup script find it? Just a guess: the FPC directory is in your

Re: [Lazarus] Cross-compile for ARM-Linux on a Windows host????

2011-01-04 Thread Henry Vermaak
On 02/01/11 23:13, Henry Vermaak wrote: On 2 January 2011 22:28, Bo Berglundbo.bergl...@gmail.com wrote: Question 1: Is the scenario I am after at all possible? At least for fpc, I don't see why not, but I haven't tried it. It I've tried this, now. FPC and lazarus lcl builds without

Re: [Lazarus] Cross-compile for ARM-Linux on a Windows host????

2011-01-03 Thread Paul Breneman
Hi Bo, I am setting up an environment for developing a simple GUI application for RS232 communications that will eventually be loaded on an embedded ARM system running a debian linux port. I am not used to Linux so I figured I could develop on Windows and test it natively there and then

Re: [Lazarus] Cross-compile for ARM-Linux on a Windows host????

2011-01-03 Thread Bo Berglund
On Mon, 03 Jan 2011 10:37:41 -0500, Paul Breneman list2...@brenemanlabs.com wrote: Hi Bo, I am setting up an environment for developing a simple GUI application for RS232 communications that will eventually be loaded on an embedded ARM system running a debian linux port. I am not used to

Re: [Lazarus] Cross-compile for ARM-Linux on a Windows host????

2011-01-03 Thread Bo Berglund
On Mon, 03 Jan 2011 10:37:41 -0500, Paul Breneman list2...@brenemanlabs.com wrote: What you want is certainly possible but you might need to learn how to build your own cross-compile FPC and Lazarus. You might consider doing what I did and install CodeTyphon in a virtual machine:

Re: [Lazarus] Cross-compile for ARM-Linux on a Windows host????

2011-01-03 Thread Vincent Snijders
2011/1/4 Bo Berglund bo.bergl...@gmail.com: And there were errors in the now remaining window, some of them here: Compiling .\source\core\ZClasses.pas ZClasses.pas(93,38) Fatal: Syntax error, : expected but identifier IID found Fatal: Compilation aborted make.exe[2]: ***

[Lazarus] Cross-compile for ARM-Linux on a Windows host????

2011-01-02 Thread Bo Berglund
I am setting up an environment for developing a simple GUI application for RS232 communications that will eventually be loaded on an embedded ARM system running a debian linux port. I am not used to Linux so I figured I could develop on Windows and test it natively there and then cross-compile

Re: [Lazarus] Cross-compile for ARM-Linux on a Windows host????

2011-01-02 Thread Henry Vermaak
On 2 January 2011 22:28, Bo Berglund bo.bergl...@gmail.com wrote: Question 1: Is the scenario I am after at all possible? At least for fpc, I don't see why not, but I haven't tried it. It will be a lot more natural when the host and target os are the same, though. Question 2: I have tried

Re: [Lazarus] Cross Compile for arm-linux

2009-12-09 Thread Dariusz Mazur
Kjow pisze: Now I have this problem: /home/kjow/fpcarm/lib/fpc/2.5.1/ppcrossarm -XParm-linux- /home/kjow/Programmazione/TestARM/prova1.pas try /home/kjow/fpcarm/lib/fpc/2.5.1/ppcrossarm -XParm-linux- prova1.pas which is curr dir? have You write access to TestARM ? Free Pascal Compiler

Re: [Lazarus] Cross Compile for arm-linux

2009-12-09 Thread Kjow
2009/12/9 Dariusz Mazur dar...@emadar.com: try /home/kjow/fpcarm/lib/fpc/2.5.1/ppcrossarm  -XParm-linux-   prova1.pas which is curr dir? have You write access to TestARM ? the same dir where You compile Ok, probably this is the mistake. Thank you! I was trying to compile from fpcscr

Re: [Lazarus] Cross Compile for arm-linux

2009-12-09 Thread Kjow
Hi again, I re-compiled all (fpc+lazarus+binutils) on a fresh Ubuntu 9.10 x86 VM (virtualbox) and it seems to be ok. Lazarus compile x86 code. Now I'm trying again to make fpc/lazarus compatible with arm, but there are other problems. I compiled the ppcrossarm: ~$

Re: [Lazarus] Cross Compile for arm-linux

2009-12-09 Thread Kjow
It works!!! My Nokia N900 says its first console word: Hello! :D With ~/lazarus/fpc/2.5.1/lib/fpc/2.5.1/ppcrossarm -va I saw that fpc didn't load arm fpc.cfg so I saved it to ~/.fpc.cfg and than I had to adjust a couple of path on it. After that I launched:

Re: [Lazarus] Cross Compile for arm-linux

2009-12-08 Thread Dariusz Mazur
Kjow pisze: 2009/12/7 Dariusz Mazur dar...@emadar.com: this is fpc.cfg in the same dir as you compile, as you see it include default fpc Thank you very much! I understand better now :) in your fpc.cfg there are these rows: -FU/home/darek2008/fpcarm/praca/$fpctarget

Re: [Lazarus] Cross Compile for arm-linux

2009-12-08 Thread Kjow
Now I have this problem: /home/kjow/fpcarm/lib/fpc/2.5.1/ppcrossarm -XParm-linux- /home/kjow/Programmazione/TestARM/prova1.pas Free Pascal Compiler version 2.5.1 [2009/12/07] for arm Copyright (c) 1993-2009 by Florian Klaempfl Target OS: Linux for ARM Compiling

Re: [Lazarus] Cross Compile for arm-linux

2009-12-08 Thread Kjow
PS prova1.pas cat /home/kjow/Programmazione/TestARM/prova1.pas program hello; begin writeln ('Hello!'); end. 2009/12/9 Kjow antispamm...@gmail.com: Now I have this problem: /home/kjow/fpcarm/lib/fpc/2.5.1/ppcrossarm -XParm-linux- /home/kjow/Programmazione/TestARM/prova1.pas Free

Re: [Lazarus] Cross Compile for arm-linux

2009-12-07 Thread Kjow
2009/12/7 Paul Nicholls paulfnicho...@gmail.com: Hi :) I don't know if it will help, but back in 2007, I started a website: http://fpc4gp2x.eonclash.com/ which allows one to make programs for an arm-linux handheld, the gp2x. It has a freepascal cross-compiler that works under Windows 32,

Re: [Lazarus] Cross Compile for arm-linux

2009-12-07 Thread Kjow
2009/12/7 Dariusz Mazur dar...@emadar.com: and at last fpc.cfg: Thank you very much! I'm going to try all, but I don't know a thing: the fpc.cfg you posted is to append to existing one or it is a replace? I'm not expert to config fpc... -- ___

Re: [Lazarus] Cross Compile for arm-linux

2009-12-07 Thread Dariusz Mazur
Kjow pisze: 2009/12/7 Dariusz Mazur dar...@emadar.com: and at last fpc.cfg: Thank you very much! I'm going to try all, but I don't know a thing: the fpc.cfg you posted is to append to existing one or it is a replace? I'm not expert to config fpc... this is fpc.cfg in the same dir

Re: [Lazarus] Cross Compile for arm-linux

2009-12-07 Thread Kjow
2009/12/7 Dariusz Mazur dar...@emadar.com: this is fpc.cfg in the same dir as you compile, as you see it include default fpc Thank you very much! I understand better now :) in your fpc.cfg there are these rows: -FU/home/darek2008/fpcarm/praca/$fpctarget -Fu~/lib/synapsesvn/trunk what's

Re: [Lazarus] Cross Compile for arm-linux

2009-12-06 Thread Henry Vermaak
2009/12/6 Kjow antispamm...@gmail.com: 2009/12/5 Henry Vermaak henry.verm...@gmail.com: I'm still not sure why you are messing around with binutils.  You need to build for maemo, so just download the maemo sdk, read the manual, then try and cross compile fpc and lazarus.  Relevant links are:

Re: [Lazarus] Cross Compile for arm-linux

2009-12-06 Thread Paul Nicholls
it is over 2 years old now, but perhaps it may still help? cheers, Paul - Original Message - From: antispamm...@gmail.com To: Lazarus Mailing List lazarus@lists.lazarus.freepascal.org Sent: Saturday, December 05, 2009 8:30 AM Subject: [Lazarus] Cross Compile for arm-linux Hi all, I'm

Re: [Lazarus] Cross Compile for arm-linux

2009-12-05 Thread Florian Klaempfl
Kjow schrieb: 2009/12/4 Henry Vermaak henry.verm...@gmail.com: This will give you the binutils for your architecture and that's probably not what you want. You need to cross compile the binutils first, so you need to make distclean in your binutils directory, then ./configure

Re: [Lazarus] Cross Compile for arm-linux

2009-12-05 Thread Kjow
2009/12/5 Florian Klaempfl flor...@freepascal.org: The makefiles of GNU binutils are broken: if you compile for another target, distclean is not enough, just delete the whole binutils source dir and unpack it again. Ok, I deleted binutils directory and re-unpacked it, then I did again:

Re: [Lazarus] Cross Compile for arm-linux

2009-12-05 Thread Henry Vermaak
2009/12/5 Kjow antispamm...@gmail.com: 2009/12/5 Florian Klaempfl flor...@freepascal.org: The makefiles of GNU binutils are broken: if you compile for another target, distclean is not enough, just delete the whole binutils source dir and unpack it again. Odd, it seems to work for me, but I'm

Re: [Lazarus] Cross Compile for arm-linux

2009-12-05 Thread Kjow
2009/12/5 Henry Vermaak henry.verm...@gmail.com: You can probably fix this with passing --disable-werror to ./configure. Perfect! ./configure --target=arm-linux --disable-werror make sudo make install and now I have: /usr/local/bin/arm-linux-as /usr/local/bin/arm-linux-ld So, I think that

[Lazarus] Cross Compile for arm-linux

2009-12-04 Thread antispammoni
Hi all, I'm a newbie about cross compiling, but I need to develop some applications for arm-linux architecture. There are many days that I search on web tutorials, guide and simple sparse bit of knowledge about how to to... but no success at now. All references to tutorials I found are very old