Re: [fpc-pascal] Cross-compile vs native

2015-01-30 Thread fredvs
You may also install Lazarus.exe via wine. With the SeupLazarus.exe, it install fpc.exe too ;-) - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Cross-compile-vs-native-tp5720834p5720891.html Sent from the Free Pascal - General mailing lis

Re: [fpc-pascal] Cross-compile vs native

2015-01-30 Thread Brian
Thanks for all the suggestions. I rather like Fred's method using Linux / Wine , and after getting it working under Wine , I would do an end test native on on a Windows PC. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Cross-compile-vs-native-tp5720834p5720

Re: [fpc-pascal] Cross-compile vs native

2015-01-28 Thread fredvs
Hello. I do main development on Linux 64. For Windows, i use wine on Linux 64, (fpc.exe 32/64 installed without problem) and compile the source via wine-fpc.exe. The advantage is that you do not have to copy your source to a virtual machine or a other native Windows. And you may test your exe to

Re: [fpc-pascal] Cross-compile vs native

2015-01-28 Thread Michael Schnell
On 01/28/2015 12:51 PM, Ewald wrote: [this might be an extremely silly proposition, please forgive me] Why don't you run lazarus through ssh? Or use vnc? The (small) target system does not have any graphic-related stuff like X, qt or gtk. So VNC, or remote X will not work. Of course I can a

Re: [fpc-pascal] Cross-compile vs native

2015-01-28 Thread Ewald
On 01/28/2015 10:01 AM, Michael Schnell wrote: > On 01/27/2015 10:27 PM, Ewald wrote: >> - Without the target system, the application cannot be tested .. > This is true, only because remote debugging is not well supported. For remote debugging a target system is needed as well? So even if rem

Re: [fpc-pascal] Cross-compile vs native

2015-01-28 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 01/27/2015 10:27 PM, Ewald wrote: - Without the target system, the application cannot be tested .. This is true, only because remote debugging is not well supported. In fact I sometimes to programs to be run on a headless system (e.g. a NAS) Here you can't insta

Re: [fpc-pascal] Cross-compile vs native

2015-01-28 Thread Michael Schnell
On 01/27/2015 10:27 PM, Ewald wrote: - Without the target system, the application cannot be tested .. This is true, only because remote debugging is not well supported. In fact I sometimes to programs to be run on a headless system (e.g. a NAS) Here you can't install Lazarus, because you

Re: [fpc-pascal] Cross-compile vs native

2015-01-27 Thread leledumbo
> Do you tend to cross-compile from Linux or do you compile native (with separate projects) on each OS (Linux and Windows)? Cross compile from Linux. I can use Wine to test Windows compatiblity and I don't have Windows anyway :D -- View this message in context: http://free-pascal-general.10457

Re: [fpc-pascal] Cross-compile vs native

2015-01-27 Thread Graeme Geldenhuys
On 2015-01-27 20:56, Brian wrote: > Do you tend to cross-compile from Linux or do you compile native (with > separate projects) on each OS (Linux and Windows)? In my experience I found that having various VM's for each target works best. The least amount of hassle, and all VM's sync the source co

Re: [fpc-pascal] Cross-compile vs native

2015-01-27 Thread tonyp
Native on Windows, cross-compile for Linux. -Original Message- From: Brian Sent: Tuesday, January 27, 2015 10:56 PM To: fpc-pascal@lists.freepascal.org Subject: [fpc-pascal] Cross-compile vs native A question to those who must maintain a Linux version and a Windows versions

Re: [fpc-pascal] Cross-compile vs native

2015-01-27 Thread Ewald
On 01/27/2015 09:56 PM, Brian wrote: > A question to those who must maintain a Linux version and a Windows versions > application. > > Do you tend to cross-compile from Linux or do you compile native (with > separate projects) on each OS (Linux and Windows)? Native, because of two reasons: - W

Re: [fpc-pascal] Cross-compile vs native

2015-01-27 Thread Mark Morgan Lloyd
Brian wrote: A question to those who must maintain a Linux version and a Windows versions application. Do you tend to cross-compile from Linux or do you compile native (with separate projects) on each OS (Linux and Windows)? Native where possible, but that's more habit than anything else. --

Re: [fpc-pascal] Cross-compile vs native

2015-01-27 Thread Felipe Monteiro de Carvalho
I compile native for linux, windows and Mac and cross-compile only for Android. I use the same project unit for every system except Android. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepas

[fpc-pascal] Cross-compile vs native

2015-01-27 Thread Brian
A question to those who must maintain a Linux version and a Windows versions application. Do you tend to cross-compile from Linux or do you compile native (with separate projects) on each OS (Linux and Windows)? Thanks Brian -- View this message in context: http://free-pascal-general.1045716.