[Lazarus] Cross compile

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jun 11 17:13:56 CEST 2012


On Mon, 11 Jun 2012 16:54:27 +0200
Antonio Fortuny <a.fortuny at sitasoftware.lu> wrote:

>[...]
> > The target OS and CPU is overridden by the project.
> > Set the project's OS and CPU.
> Aaaaaaaaaaargh :'(
> You are a king anyway, it works.
> But I'm a little bit disappointed that the project and the package 
> options are so intimately related.

TargetOS and CPU defines the used compiler, a lot of
defines, search paths and IFDEFs.
You can not have two different Target OS/CPU settings active at a time.
So the project's settings win.

The target OS/CPU settings should be removed/hidden on the package
compiler options.
Feel free to create a feature request.

Mattias




More information about the Lazarus mailing list