On Mon, 22 Oct 2018 21:09:56 +0200, Bo Berglund via Lazarus
wrote:
>I have a console program for Windows, which was developed using
>Delphi2007 and Indy10.
>Now I need to port this to Linux (Ubuntu Server 16.04-3 LTS on Intel
>i386 CPu).
>I have installed Lazarus 1.8.4-32 using the download from
On 10/22/2018 3:12 PM, Bo Berglund via Lazarus wrote:
I guess this might be a FPC difference to Delphi...
How can I make FPC understand that this is a conditional it shall just
ignore?
By first checking if you are compiling in FreePascal in the first place?
{$IFNDEF FPC}
{$IF CompilerVersion
On Mon, 22 Oct 2018 21:09:56 +0200, Bo Berglund via Lazarus
wrote:
>I have a console program for Windows, which was developed using
>Delphi2007 and Indy10.
Now trying to compile the old Delphi sources in FPC/Lazarus and it
stops in a common file on this type of construct:
{$IF CompilerVersion
On Mon, 22 Oct 2018 21:54:30 +0200, Bo Berglund via Lazarus
wrote:
>In Package/Package Graph I can find the OLPM entry and it is marked
>with a green plus sign and when I click on it the info below shows
>this:
>
>Filename:
>C:\programs\lazarus_1.8.4-32\components\onlinepackagemanager\onlinepacka
On Mon, 22 Oct 2018 21:09:56 +0200, Bo Berglund via Lazarus
wrote:
>So I have Lazarus ver 1.8.4 and FPC ver 3.0.4 rev 57972 on my Windows
>7 Pro X64 laptop.
>I have also installed the IndyLaz package to get the Indy10 components
>and this works fine.
It turns out that this is false information!
I would suggest to install FpcupDeluxe, in it you have button to install cross
compilers. and then you can choose Target - Linux in Lazarus project options.
Alex
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/l
I have a console program for Windows, which was developed using
Delphi2007 and Indy10.
Now I need to port this to Linux (Ubuntu Server 16.04-3 LTS on Intel
i386 CPu).
I have installed Lazarus 1.8.4-32 using the download from the official
Lazarus site: lazarus-1.8.4-fpc-3.0.4-win32.exe
So I have La