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

2015-05-18 Thread 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
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2015-05-18 Thread leledumbo
 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.



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-What-option-do-I-need-to-build-Lazarus-executable-itself-from-a-different-OS-or-architecture-tp4042265p4042273.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus