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

Bo Berglund bo.berglund at gmail.com
Tue Jan 4 07:44:55 CET 2011


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?????

And there were errors in the now remaining window, some of them here:

Compiling .\source\core\ZClasses.pas
ZClasses.pas(93,38) Fatal: Syntax error, ":" expected but "identifier
IID" found
Fatal: Compilation aborted
make.exe[2]: *** [pl_zeosdbocomp.ppu] Error 1
make.exe[2]: Leaving directory `c:/lazarus/components/pl_ZeosDBO'
make.exe[1]: *** [bigidecomponents] Error 2
make.exe[1]: Leaving directory `c:/lazarus/components'
C:\pp\bin\i386-win32\make.exe: *** [bigidecomponents] Error 2

----------------------------------------------------------
                 Strip Lazarus
----------------------------------------------------------
INFO: Lazarus.exe NOT EXIST !!!
...

??????????????????????????????????????????????????????
ERROR: Lazarus32 IDE NOT Build
??????????????????????????????????????????????????????

What is going on?


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list