Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-05

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

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150518/1cd9dd8c/attachment.html>

Reply by email

leledumbo
to vfclists .
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.

Reply by email