Add VxWorks platfrom support documents
This commit is contained in:
parent
83dcdb3a5d
commit
62d4998753
3 changed files with 58 additions and 6 deletions
|
|
@ -74,6 +74,7 @@
|
|||
- [*-unknown-openbsd](platform-support/openbsd.md)
|
||||
- [*-unknown-redox](platform-support/redox.md)
|
||||
- [\*-unknown-uefi](platform-support/unknown-uefi.md)
|
||||
- [\*-wrs-vxworks](platform-support/vxworks.md)
|
||||
- [wasm32-wasip1](platform-support/wasm32-wasip1.md)
|
||||
- [wasm32-wasip1-threads](platform-support/wasm32-wasip1-threads.md)
|
||||
- [wasm32-wasip2](platform-support/wasm32-wasip2.md)
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ target | std | host | notes
|
|||
[`aarch64-unknown-openbsd`](platform-support/openbsd.md) | ✓ | ✓ | ARM64 OpenBSD
|
||||
[`aarch64-unknown-redox`](platform-support/redox.md) | ✓ | | ARM64 Redox OS
|
||||
`aarch64-uwp-windows-msvc` | ✓ | |
|
||||
`aarch64-wrs-vxworks` | ? | |
|
||||
[`aarch64-wrs-vxworks`](platform-support/vxworks.md) | ✓ | | ARM64 VxWorks OS
|
||||
`aarch64_be-unknown-linux-gnu_ilp32` | ✓ | ✓ | ARM64 Linux (big-endian, ILP32 ABI)
|
||||
`aarch64_be-unknown-linux-gnu` | ✓ | ✓ | ARM64 Linux (big-endian)
|
||||
[`aarch64_be-unknown-netbsd`](platform-support/netbsd.md) | ✓ | ✓ | ARM64 NetBSD (big-endian)
|
||||
|
|
@ -281,7 +281,7 @@ target | std | host | notes
|
|||
[`armv7-unknown-linux-uclibceabihf`](platform-support/armv7-unknown-linux-uclibceabihf.md) | ✓ | ? | Armv7-A Linux with uClibc, hardfloat
|
||||
`armv7-unknown-freebsd` | ✓ | ✓ | Armv7-A FreeBSD
|
||||
[`armv7-unknown-netbsd-eabihf`](platform-support/netbsd.md) | ✓ | ✓ | Armv7-A NetBSD w/hard-float
|
||||
`armv7-wrs-vxworks-eabihf` | ? | | Armv7-A for VxWorks
|
||||
[`armv7-wrs-vxworks-eabihf`](platform-support/vxworks.md) | ? | | Armv7-A for VxWorks
|
||||
[`armv7a-kmc-solid_asp3-eabi`](platform-support/kmc-solid.md) | ✓ | | ARM SOLID with TOPPERS/ASP3
|
||||
[`armv7a-kmc-solid_asp3-eabihf`](platform-support/kmc-solid.md) | ✓ | | ARM SOLID with TOPPERS/ASP3, hardfloat
|
||||
[`armv7a-none-eabihf`](platform-support/arm-none-eabi.md) | * | | Bare Armv7-A, hardfloat
|
||||
|
|
@ -307,7 +307,7 @@ target | std | host | notes
|
|||
`i686-uwp-windows-gnu` | ✓ | | [^x86_32-floats-return-ABI]
|
||||
`i686-uwp-windows-msvc` | ✓ | | [^x86_32-floats-return-ABI]
|
||||
[`i686-win7-windows-msvc`](platform-support/win7-windows-msvc.md) | ✓ | | 32-bit Windows 7 support [^x86_32-floats-return-ABI]
|
||||
`i686-wrs-vxworks` | ? | | [^x86_32-floats-return-ABI]
|
||||
[`i686-wrs-vxworks`](platform-support/vxworks.md) | ? | | [^x86_32-floats-return-ABI]
|
||||
[`m68k-unknown-linux-gnu`](platform-support/m68k-unknown-linux-gnu.md) | ? | | Motorola 680x0 Linux
|
||||
`mips-unknown-linux-gnu` | ✓ | ✓ | MIPS Linux (kernel 4.4, glibc 2.23)
|
||||
`mips-unknown-linux-musl` | ✓ | | MIPS Linux with musl 1.2.3
|
||||
|
|
@ -333,8 +333,8 @@ target | std | host | notes
|
|||
`powerpc-unknown-linux-musl` | ? | | PowerPC Linux with musl 1.2.3
|
||||
[`powerpc-unknown-netbsd`](platform-support/netbsd.md) | ✓ | ✓ | NetBSD 32-bit powerpc systems
|
||||
[`powerpc-unknown-openbsd`](platform-support/powerpc-unknown-openbsd.md) | * | |
|
||||
`powerpc-wrs-vxworks-spe` | ? | |
|
||||
`powerpc-wrs-vxworks` | ? | |
|
||||
[`powerpc-wrs-vxworks-spe`](platform-support/vxworks.md) | ? | |
|
||||
[`powerpc-wrs-vxworks`](platform-support/vxworks.md) | ? | |
|
||||
`powerpc64-unknown-freebsd` | ✓ | ✓ | PPC64 FreeBSD (ELFv1 and ELFv2)
|
||||
`powerpc64le-unknown-freebsd` | | | PPC64LE FreeBSD
|
||||
`powerpc-unknown-freebsd` | | | PowerPC FreeBSD
|
||||
|
|
@ -383,7 +383,7 @@ target | std | host | notes
|
|||
`x86_64-uwp-windows-gnu` | ✓ | |
|
||||
`x86_64-uwp-windows-msvc` | ✓ | |
|
||||
[`x86_64-win7-windows-msvc`](platform-support/win7-windows-msvc.md) | ✓ | | 64-bit Windows 7 support
|
||||
`x86_64-wrs-vxworks` | ? | |
|
||||
[`x86_64-wrs-vxworks`](platform-support/vxworks.md) | ? | |
|
||||
[`x86_64h-apple-darwin`](platform-support/x86_64h-apple-darwin.md) | ✓ | ✓ | macOS with late-gen Intel (at least Haswell)
|
||||
[`x86_64-unknown-linux-none`](platform-support/x86_64-unknown-linux-none.md) | * | | 64-bit Linux with no libc
|
||||
[`xtensa-esp32-none-elf`](platform-support/xtensa.md) | * | | Xtensa ESP32
|
||||
|
|
|
|||
51
src/doc/rustc/src/platform-support/vxworks.md
Normal file
51
src/doc/rustc/src/platform-support/vxworks.md
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
# `*-wrs-vxworks`
|
||||
|
||||
**Tier: 3**
|
||||
|
||||
Targets for the VxWorks operating
|
||||
system.
|
||||
|
||||
Target triplets available:
|
||||
|
||||
- `x86_64-wrs-vxworks`
|
||||
- `aarch64-wrs-vxworks`
|
||||
- `i686-wrs-vxworks`
|
||||
- `armv7-wrs-vxworks-eabihf`
|
||||
- `powerpc-wrs-vxworks`
|
||||
- `powerpc-wrs-vxworks-spe`
|
||||
|
||||
## Target maintainers
|
||||
|
||||
- B I Mohammed Abbas ([@biabbas](https://github.com/biabbas))
|
||||
|
||||
## Requirements
|
||||
|
||||
Rust for each target can be cross-compiled with its specific target vsb configuration. Std support is added but not yet fully tested.
|
||||
|
||||
## Building the target
|
||||
|
||||
You can build Rust with support for the targets by adding it to the `target` list in `config.toml`. In addition the workbench and wr-cc have to configured and activated.
|
||||
|
||||
```toml
|
||||
[build]
|
||||
build-stage = 1
|
||||
target = [
|
||||
"<HOST_TARGET>",
|
||||
"x86_64-wrs-vxworks",
|
||||
"aarch64-wrs-vxworks",
|
||||
"i686-wrs-vxworks",
|
||||
"armv7-wrs-vxworks-eabihf",
|
||||
"powerpc-wrs-vxworks",
|
||||
"powerpc-wrs-vxworks-spe",
|
||||
]
|
||||
```
|
||||
|
||||
## Building Rust programs
|
||||
|
||||
Rust does not yet ship pre-compiled artifacts for VxWorks.
|
||||
|
||||
The easiest way to build and test programs for VxWorks is to use the shipped rustc and cargo in VxWorks workbench, following the official windriver guidelines.
|
||||
|
||||
## Cross-compilation toolchains and C code
|
||||
|
||||
The target supports C code. Pre-compiled C toolchains can be found in provided VxWorks workbench.
|
||||
Loading…
Add table
Add a link
Reference in a new issue