[Lazarus] Cross-compiling for Raspberry Pi2
Bo Berglund
bo.berglund at gmail.com
Fri Sep 18 18:19:06 CEST 2015
On Fri, 18 Sep 2015 11:40:53 +0200, Michael Schnell
<mschnell at lumino.de> wrote:
>
>So Bo supposedly is save if he selects "Application" and not "Console
>Application" when setting up his project. In fact on a PI a GUI system
>is active by default.
>
>Other than MSE, a Lazarus "Console Application" can't use TTimer, this
>might not be relevant for Bo on Pi.
On the Windows service application I am checking every minute if a
start time for a measure task has occurred and then I run the process
to get the measurement going.
I probably have to do something about the way to handle the scheduling
in Linux, either by programmatically setting up cron jobs or by having
my program run in an eternal loop and checking the time in every loop
iteration.
Or is there a better way on Linux?
As described my Windows application is a service and I am not porting
that, I only want to use all of the ObjectPascal classes I created for
the handling of the instrumentation but using whatever scheduling
functionality that may be available in Linux.
And I have to include an Indy TCP Client too....
--
Bo Berglund
Developer in Sweden
More information about the Lazarus
mailing list