Re: [Lazarus] What is the cause of this fpcres error? It is on the path.

2010-09-25 Thread zeljko
On Saturday 25 September 2010 02:07, Frank Church wrote: I am trying to compile the latest Lazarus trunk and I get this error. Compiling resource ../units/i386-linux/lazarus.or lazarus.pp(127,1) Error: Can't call the resource compiler /home/rchurch/LazarusInstalls/fpc240/bin/fpcres, switching

[Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Bo Berglund
I am new to this list and I would like to get advice on the capabilities of Lazarus. My background is 15 years of Delphi programming (almost all versions Delphi1 to BDS2006). For the upcoming project I want to keep using Pascal if possible rather than learn and get productive in Java So:

Re: [Lazarus] What is the cause of this fpcres error? It is on the path.

2010-09-25 Thread Frank Church
On 25 September 2010 07:56, zeljko zel...@holobit.net wrote: On Saturday 25 September 2010 02:07, Frank Church wrote: I am trying to compile the latest Lazarus trunk and I get this error. Compiling resource ../units/i386-linux/lazarus.or lazarus.pp(127,1) Error: Can't call the resource

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Michael Van Canneyt
On Sat, 25 Sep 2010, Bo Berglund wrote: I am new to this list and I would like to get advice on the capabilities of Lazarus. My background is 15 years of Delphi programming (almost all versions Delphi1 to BDS2006). For the upcoming project I want to keep using Pascal if possible rather than

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Bo Berglund
On Sat, 25 Sep 2010 11:43:35 +0200 (CEST), Michael Van Canneyt mich...@freepascal.org wrote: 1) Can I work in Windows or Ubuntu on the same project? I.e. are there differences in the IDE/compiler between the two work environments? No. Linking is slightly slower on windows. What I really

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Luis R. Hilario B.
Hello, You can find a version for Windows here: http://www.luisdigital.com/programacion/fpc/serial.pp 3) I need to access the serial communications channel from my programs, so what is the support available for RS232 communications in Lazarus/FPC? There is the serial unit. Is it the same

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Bo Berglund
On Sat, 25 Sep 2010 09:43:20 -0400, Luis R. Hilario B. luisdigi...@gmail.com wrote: 3) I need to access the serial communications channel from my programs, so what is the support available for RS232 communications in Lazarus/FPC? There is the serial unit. Is it the same on Linux and

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Paul Breneman
I've also replied to you FPC mailing list messages. This won't answer all of your questions but I hope it will help: http://www.turbocontrol.com/embeddedfreepascal.htm I'd be glad to discuss this in more detail. For some serial code, look for Simple Serial on this page:

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Bo Berglund
Looks like the freepascal site is down at the moment. No replies have been relayed over to the GMane news server, which I use to monitor the activity... And I cannot connect to the list server to change my maile delivery options (have to enable mail to get the responses). I am replying to this

[Lazarus] Snow Leopard: Debugger unusable after an exception is raised

2010-09-25 Thread Tobias Giesen
Hello, I have a debugger problem when using the latest Lazarus snapshot on Mac OS Snow Leopard, as well as with older Lazarus snapshots from this year. When my program raises an exception, Lazarus appears in the foreground but it does not show any exception dialog and it does not show the

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Paul Breneman
Hi Bo, You might look here first: http://www.turbocontrol.com/simpleserial.htm There are 3 small zips there that you can use to compile the same program under Windows, Linux Desktop, and embedded Linux on OABI-compatible ARM systems. I've been able to avoid the complexity of

[Lazarus] Is there a way to choose with fpc to use in lazarus command?

2010-09-25 Thread Frank Church
Is there a way to pass on the version of FPC you want to use with startlazarus or lazarus command? Is there a way it can be set in the fpc.cfg, and can the fpc.cfg be passed to ths lazarus command? I have a 2.2.4 from repository and a 2.4.0 svn build and Lazarus is always reverting to the 2.2.4

Re: [Lazarus] Is there a way to choose with fpc to use in lazarus command?

2010-09-25 Thread Mattias Gaertner
On Sat, 25 Sep 2010 19:34:42 +0100 Frank Church vfcli...@gmail.com wrote: Is there a way to pass on the version of FPC you want to use with startlazarus or lazarus command? Is there a way it can be set in the fpc.cfg, and can the fpc.cfg be passed to ths lazarus command? I have a 2.2.4

Re: [Lazarus] How to pass path of fpc to make command, and some thoughts on Lazarus/FPC Installation.

2010-09-25 Thread Sven Barth
On 24.09.2010 21:53, Frank Church wrote: On 24 September 2010 16:45, Sven Barth pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com wrote: There should be a makeskel or similar binary in fpc240/bin/fpc which you can call to create a config skeleton (you might call it with -h

Re: [Lazarus] Where is the cgi package on the trunk?

2010-09-25 Thread Marcos Douglas
On Fri, Sep 24, 2010 at 7:59 PM, Maxim Ganetsky gan...@narod.ru wrote: 25.09.2010 2:48, Marcos Douglas пишет: On Fri, Sep 24, 2010 at 6:11 PM, Maxim Ganetskygan...@narod.ru  wrote: 24.09.2010 23:43, Marcos Douglas пишет: Where is the cgi package on the trunk? I update the Lazarus from SVN

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Sven Barth
On 25.09.2010 15:43, Luis R. Hilario B. wrote: Hello, You can find a version for Windows here: http://www.luisdigital.com/programacion/fpc/serial.pp Could this unit be integrated into FPC, so that one doesn't need to find that one? (I didn't know that such a unit already existed till now

Re: [Lazarus] Using Lazarus on Embedded Linux?

2010-09-25 Thread Sven Barth
3) I need to access the serial communications channel from my programs, so what is the support available for RS232 communications in Lazarus/FPC? There is the serial unit. Is it the same on Linux and Windows? The interface is the same. It isn't, cause there isn't a serial.pp for Windows

Re: [Lazarus] Is there a way to choose with fpc to use in lazarus command?

2010-09-25 Thread Marcos Douglas
2010/9/25 Frank Church vfcli...@gmail.com: Is there a way to pass on the version of FPC you want to use with startlazarus or lazarus command? The configuration of Lazarus is created, at the first time, in C:\Documents and Settings\username\Application Data\lazarus\ You can modify these files,

Re: [Lazarus] How to pass path of fpc to make command, and some thoughts on Lazarus/FPC Installation.

2010-09-25 Thread Frank Church
On 25 September 2010 20:33, Sven Barth pascaldra...@googlemail.com wrote: On 24.09.2010 21:53, Frank Church wrote: On 24 September 2010 16:45, Sven Barth pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com wrote: There should be a makeskel or similar binary in fpc240/bin/fpc

Re: [Lazarus] Is there a way to choose with fpc to use in lazarus command?

2010-09-25 Thread Frank Church
On 25 September 2010 20:58, Marcos Douglas m...@delfire.net wrote: 2010/9/25 Frank Church vfcli...@gmail.com: Is there a way to pass on the version of FPC you want to use with startlazarus or lazarus command? The configuration of Lazarus is created, at the first time, in C:\Documents

Re: [Lazarus] Is there a way to choose with fpc to use in lazarus command?

2010-09-25 Thread Mattias Gaertner
On Sat, 25 Sep 2010 21:13:32 +0100 Frank Church vfcli...@gmail.com wrote: On 25 September 2010 20:58, Marcos Douglas m...@delfire.net wrote: 2010/9/25 Frank Church vfcli...@gmail.com: Is there a way to pass on the version of FPC you want to use with startlazarus or lazarus command?

Re: [Lazarus] How to pass path of fpc to make command, and some thoughts on Lazarus/FPC Installation.

2010-09-25 Thread Sven Barth
On 25.09.2010 22:07, Frank Church wrote: As I'm now on my Linux PC again, I checked that: it is makeskel in ~/LazarusInstalls/fpc240/bin/makeskel. The help can be queried by using -h or --help as parameter. makeskel has a whole lot of options but none of them mention fpc.cfg. Do

[Lazarus] Build configuration

2010-09-25 Thread Benito van der Zander
Hi, is there an easy way to switch between different compile configurations? In C++ projects you usually have debug/release configurations, and what I need in Lazarus, are three configurations: debug (range/overflow check), release linux (smart linked, optimized), release windows (smart

Re: [Lazarus] Is there a way to choose with fpc to use in lazarus command?

2010-09-25 Thread Sven Barth
On 25.09.2010 22:48, Frank Church wrote: I am now get the dreaded Fatal: Can't find unit Contnrs used by x error, yet it is located in source_dir/packages/fcl-base/src/contnrs.pp That normally means that the compiler is still using the wrong configuration file. It might still use the

Re: [Lazarus] Is there a way to choose with fpc to use in lazarus command?

2010-09-25 Thread Mattias Gaertner
On Sat, 25 Sep 2010 21:48:27 +0100 Frank Church vfcli...@gmail.com wrote: On 25 September 2010 21:30, Mattias Gaertner nc-gaert...@netcologne.dewrote: On Sat, 25 Sep 2010 21:13:32 +0100 Frank Church vfcli...@gmail.com wrote: On 25 September 2010 20:58, Marcos Douglas m...@delfire.net

Re: [Lazarus] Is there a way to choose with fpc to use in lazarus command?

2010-09-25 Thread Frank Church
On 25 September 2010 22:20, Mattias Gaertner nc-gaert...@netcologne.dewrote: On Sat, 25 Sep 2010 21:48:27 +0100 Frank Church vfcli...@gmail.com wrote: On 25 September 2010 21:30, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sat, 25 Sep 2010 21:13:32 +0100 Frank Church

Re: [Lazarus] Is there a way to choose with fpc to use in lazarus command?

2010-09-25 Thread Mattias Gaertner
On Sat, 25 Sep 2010 22:43:48 +0100 Frank Church vfcli...@gmail.com wrote: [...] I am now get the dreaded Fatal: Can't find unit Contnrs used by x error, yet it is located in source_dir/packages/fcl-base/src/contnrs.pp The compiler searches the ppu. The error message probably

Re: [Lazarus] Build configuration

2010-09-25 Thread Zaher Dirkey
On Sun, Sep 26, 2010 at 1:56 AM, Graeme Geldenhuys graemeg.li...@gmail.comwrote: On 25 September 2010 23:10, Benito van der Zander wrote: in Lazarus, are three configurations: debug (range/overflow check), release linux (smart linked, optimized), release windows (smart linked, optimized,

Re: [Lazarus] Build configuration

2010-09-25 Thread Graeme Geldenhuys
2010/9/26 Zaher Dirkey parm...@gmail.com: Not work if you Debug or Find Declairation, Lazarus not load the Pathes from the config file. I don't use those config files for setting paths, but for other compiler parameters like heaptrace, line info, optimization level, cpu choice etc... for all