[fpc-pascal] Cross-compile vs native
ewald at yellowcouch.org
Tue Jan 27 22:27:12 CET 2015
On 01/27/2015 09:56 PM, Brian wrote:
> A question to those who must maintain a Linux version and a Windows versions
> Do you tend to cross-compile from Linux or do you compile native (with
> separate projects) on each OS (Linux and Windows)?
Native, because of two reasons:
- Without the target system, the application cannot be tested
thoroughly, and if one has the target system, why not build on it?
- Some dependencies (such as autogenerated code) need to be compiled
on the target system. It could probably be done on a linux system as
well, but same argument as above...
Projects are identical on both platforms though (except for a few ifdefs
to access OS-specific functionality).
More information about the fpc-pascal