On 01/27/2015 09:56 PM, Brian wrote:
> A question to those who must maintain a Linux version and a Windows versions
> application.
>
> 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).

-- 
Ewald


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to