]>
Commit | Line | Data |
---|---|---|
5e7ed085 | 1 | use crate::spec::{cvs, TargetOptions}; |
416331ca XL |
2 | |
3 | pub fn opts() -> TargetOptions { | |
416331ca | 4 | TargetOptions { |
5e7ed085 FG |
5 | os: "vxworks".into(), |
6 | env: "gnu".into(), | |
7 | vendor: "wrs".into(), | |
8 | linker: Some("wr-c++".into()), | |
9 | exe_suffix: ".vxe".into(), | |
416331ca | 10 | dynamic_linking: true, |
5e7ed085 | 11 | families: cvs!["unix"], |
416331ca | 12 | has_rpath: true, |
a2a8927a | 13 | has_thread_local: true, |
e1599b0c XL |
14 | crt_static_default: true, |
15 | crt_static_respected: true, | |
16 | crt_static_allows_dylibs: true, | |
17 | // VxWorks needs to implement this to support profiling | |
5e7ed085 | 18 | mcount: "_mcount".into(), |
dfeec247 | 19 | ..Default::default() |
416331ca XL |
20 | } |
21 | } |