简体   繁体   中英

What is the difference between cross-platform and multi-platform?

Can someone clearly tell the difference between the terms "cross platform" and "multi platform"

haven't found some clear answers yet

Cross Platform is where the host development architecture is different than the target execution platform. In short, the target application will not execute on the host development system.

Multi Platform is where a different executable target can be built that will also execute on the host.

Example 1 - You can cross develop from 64 bit linux to 64 Bit Windows using Wine.

Example 2 - You can compile an application for 32 bit Linux using multilib that will execute on 64 bit Linux using the native Linux compiler and using the -m32 switch to build the 32 bit application.

Example 3 - You can target 32 bit Windows applications from Linux 64 if you install Wine32 in addition to Wine and generate both the targets from the same source base if you are using the right toolkits.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM