Update supported platforms list. (#2671)

This commit is contained in:
Nikolay Igotti
2019-02-18 13:51:33 +03:00
committed by GitHub
parent 8d8a89700f
commit 2b04cb70ae
+11 -7
View File
@@ -21,24 +21,27 @@ basic runtime shipped along with the translator, we only support a subset of all
target platforms. Currently _Kotlin/Native_ is being shipped and tested with support for target platforms. Currently _Kotlin/Native_ is being shipped and tested with support for
the following platforms: the following platforms:
* Mac OS X 10.11 and later (x86-64), host and target (`-target macos`, default on macOS hosts) * Mac OS X 10.11 and later (x86-64), host and target (`-target macos_x64`, default on macOS hosts)
* Ubuntu Linux x86-64 (14.04, 16.04 and later), other Linux flavours may work as well, host and target * Ubuntu Linux x86-64 (14.04, 16.04 and later), other Linux flavours may work as well, host and target
(`-target linux`, default on Linux hosts, hosted on Linux, Windows and macOS) (`-target linux_x64`, default on Linux hosts, hosted on Linux, Windows and macOS)
* Microsoft Windows x86-64 (tested on Windows 7 and Windows 10), host and target (`-target mingw`, * Microsoft Windows x86-64 (tested on Windows 7 and Windows 10), host and target (`-target mingw_x64`,
default on Windows hosts) default on Windows hosts)
* Microsoft Windows x86-32 cross-compiled target (`-target mingw_x86`), hosted on Windows
* Apple iOS (armv7 and arm64 devices, x86 simulator), cross-compiled target * Apple iOS (armv7 and arm64 devices, x86 simulator), cross-compiled target
(`-target ios_arm32|ios_arm64|ios_x64`), hosted on macOS (`-target ios_arm32|ios_arm64|ios_x64`), hosted on macOS
* Linux arm32 hardfp, Raspberry Pi, cross-compiled target (`-target raspberrypi`), hosted on Linux, Windows and macOS * Linux arm32 hardfp, Raspberry Pi, cross-compiled target (`-target raspberrypi`), hosted on Linux, Windows and macOS
* Linux MIPS big endian, cross-compiled target (`-target mips`), hosted on Linux * Linux MIPS big endian, cross-compiled target (`-target mips`), hosted on Linux
* Linux MIPS little endian, cross-compiled target (`-target mipsel`), hosted on Linux * Linux MIPS little endian, cross-compiled target (`-target mipsel`), hosted on Linux
* Android arm32 and arm64 (`-target android_arm32|android_arm64`) target, hosted on Linux or macOS * Android arm32 and arm64 (`-target android_arm32|android_arm64`) target, hosted on Linux, macOS and Windows
(only `android_arm32` at the moment)
* WebAssembly (`-target wasm32`) target, hosted on Linux, Windows or macOS * WebAssembly (`-target wasm32`) target, hosted on Linux, Windows or macOS
Adding support for other target platforms shouldn't be too hard, if LLVM support is available. Adding support for other target platforms shouldn't be too hard, if LLVM support is available.
## Compatibility and features ## ## Compatibility and features ##
To run _Kotlin/Native_ JDK 8 or Java 9 (JDK) for the host platform has to be installed. To run _Kotlin/Native_ compiler JDK 8 or Java 9 or Java 10 (JDK) for the host platform has to be installed.
Produced programs are fully self-sufficient and do not need JVM or other runtime.
On macOS it also requires Xcode 9.4.1 or newer to be installed. On macOS it also requires Xcode 9.4.1 or newer to be installed.
@@ -90,7 +93,8 @@ Notice that property delegation (including lazy properties) *does* work.
### Microsoft Windows support ### ### Microsoft Windows support ###
Only 64-bit Windows is currently supported as both compilation host and target. Only 64-bit Windows is currently supported as compilation host, both 32-bit and 64-bit Windows could
be targets.
### Debugging ### ### Debugging ###
@@ -108,7 +112,7 @@ Notice that property delegation (including lazy properties) *does* work.
and then and then
command script import tools/konan_lldb.py command script import tools/konan_lldb.py
b kfun:main(kotlin.Array<kotlin.String>) b kfun:main()
to set breakpoint in main function of your application. Single stepping and step into shall work, to set breakpoint in main function of your application. Single stepping and step into shall work,
variable inspection may have issues. variable inspection may have issues.