[Lazarus] What option do I need to build Lazarus executable itself from a different OS or architecture?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] What option do I need to build Lazarus executable itself from a different OS or architecture?

vfclists .

I have managed to get FPC cross compilation from 32 bit Linux to  64bit Linux and both 32bit and 64 bit Linux.

My next step is to generate the Lazarus executable itself for all 4 systems. My current command for building the 32 bit Linux version of Lazarus is:


make all PP=${THIS_BUILD_COMPILER} USESVN2REVISIONINC=0  LCL_PLATFORM=gtk2
make PP=${THIS_BUILD_COMPILER} bigide

What option do I have to add to ensure that the Lazarus executable and units are targeted to the right CPU and OS?


PS. Can Lazarus be built as an application from the IDE itself, like cross compiling an executable for a different architecture?
--
Frank Church

=======================
http://devblog.brahmancreations.com

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] What option do I need to build Lazarus executable itself from a different OS or architecture?

leledumbo
Administrator
> What option do I have to add to ensure that the Lazarus executable and units are targeted to the right CPU and OS?

OS_TARGET= CPU_TARGET=

same as FPC makefile parameters. After all, the makefiles are generated using fpcmake.