Lazarus is lacking crosscompiling ability(?)

Kevin Kofler kevin.kofler at chello.at
Fri Dec 2 03:33:09 UTC 2011


Heiko Adams wrote:
> I'm not very experienced in crosscompiling applications but as far as
> I understand lazarus wiki page for that topic[1], lazarus is able to
> compile i.e. windows binaries on linux.
> 
> I'm currently in a situation where this feature would be very helpful
> because it gets boring and costs some time for me to start my windows
> vm just for a new build of my applications. I've allready filed a
> bug[2] for making feodra's lazarus package able to compile windows
> binaries but there isn't any reaction so far.

Try asking on the Fedora MinGW mailing list.

> So can anyone give me a hint how I can compile my lazarus applications
> for windows on my linux box without using a windows vm and why the
> lazarus package seems to miss the neccessary files for doing this out
> of the box?

Probably because fpc needs to BuildRequire mingw32-binutils at the very 
least. There might be other issues with packaging this, and the fpc and 
lazarus maintainer(s) are probably not interested in cross-compilation.

        Kevin Kofler



More information about the devel mailing list