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

Sven Barth pascaldragon at googlemail.com
Tue Jan 4 09:11:50 CET 2011


Am 04.01.2011 07:44, schrieb Bo Berglund:
> On Mon, 03 Jan 2011 10:37:41 -0500, Paul Breneman
> <list2010 at 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:
>>    http://www.pilotlogic.com/
>>
>> That uses a recent FPC and Lazarus trunk so it isn't the stable versions
>> you want.  But it might be useful for you to see what is possible on
>> Windows:
>>    http://www.pilotlogic.com/codetyphon_help/layers_and_areas.htm
>>
>> Paul
>
> Now I went ahead and downloaded and extracted the CodeTyphon zipfile
> to the root of my C-drive so it created the CodeTyphon directory with
> everything inside.
> Then I started the batch file setup.bat and selected mode 7.
> This started a lot of activity in a command window, which went on and
> on.
>
> I noted that this batch file somehow used my already existing FPC
> 2.4.2 installation, which I think it should not do.
> Anyway I went off to have dinner and meanwhile the script finished,
> but without leaving the window visible so one could see the end
> result.
> And there was no sign of any lazarus executable anywhere...
>
> So then I tried to modify the setup.bat file as follows:
> 1) Reset path such that the path to C:\Programs\fpc\2.4.2\.... would
> be removed, thereby making the existing fpc invisible to the setup
> script.
> 2) Add a pause at the end so that it is possible to still see what had
> been going on.
>
> Then I deleted the lazarus and pp folders the first run had created
> and ran the setup.bat file once more.
>
> 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 PATH variable.

Regards,
Sven




More information about the Lazarus mailing list