Last active
April 20, 2017 01:57
-
-
Save U007D/dbc238b1fa98c40492eb1d52eca64d6b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Socrates:hello-world3 bRad$ lld | |
lld is a generic driver. | |
Invoke ld.lld (Unix), ld (macOS) or lld-link (Windows) instead. | |
Socrates:hello-world3 bRad$ ld -v | |
@(#)PROGRAM:ld PROJECT:ld64-278.4 | |
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS) | |
LTO support using: LLVM version 8.1.0, (clang-802.0.41) | |
TAPI support using: Apple TAPI version 1.33.11 | |
Socrates:hello-world3 bRad$ ld.lld --version | |
LLD 5.0.0 | |
Socrates:hello-world3 bRad$ rustup show | |
Default host: x86_64-apple-darwin | |
installed toolchains | |
-------------------- | |
stable-x86_64-apple-darwin | |
nightly-x86_64-apple-darwin (default) | |
installed targets for active toolchain | |
-------------------------------------- | |
armv7-unknown-linux-gnueabihf | |
x86_64-apple-darwin | |
active toolchain | |
---------------- | |
nightly-x86_64-apple-darwin (default) | |
rustc 1.18.0-nightly (452bf0852 2017-04-19) | |
Socrates:hello-world3 bRad$ cargo install xargo | |
Updating registry `https://github.com/rust-lang/crates.io-index` | |
Installing xargo v0.3.6 | |
error: binary `xargo` already exists in destination as part of `xargo v0.3.6` | |
Add --force to overwrite | |
Socrates:hello-world3 bRad$ curl -LO https://raw.githubusercontent.com/japaric/steed/master/docker/armv7-unknown-linux-steedeabihf.json | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 782 100 782 0 0 1038 0 --:--:-- --:--:-- --:--:-- 1434 | |
Socrates:hello-world3 bRad$ cat armv7-unknown-linux-steedeabihf.json | |
{ | |
"abi-blacklist": [ | |
"stdcall", | |
"fastcall", | |
"vectorcall", | |
"win64", | |
"sysv64" | |
], | |
"arch": "arm", | |
"data-layout": "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", | |
"env": "steed", | |
"executables": true, | |
"features": "+v7,+vfp3,+d16,+thumb2,-neon", | |
"has-elf-tls": true, | |
"linker": "ld.lld", | |
"linker-flavor": "ld", | |
"llvm-target": "armv7-unknown-linux-eabihf", | |
"max-atomic-width": 64, | |
"os": "linux", | |
"panic-strategy": "abort", | |
"pre-link-args": { | |
"gcc": [ | |
"-Wl,--as-needed", | |
"-Wl,-z,noexecstack", | |
"-nostartfiles" | |
] | |
}, | |
"target-endian": "little", | |
"target-family": "unix", | |
"target-pointer-width": "32", | |
"vendor": "unknown" | |
} | |
Socrates:hello-world3 bRad$ xargo build --bin hello-world3 --target armv7-unknown-linux-steedeabihf | |
error: failed to run `rustc` to learn about target-specific information | |
To learn more, run the command again with --verbose. | |
error: `"cargo" "build" "--release" "--manifest-path" "/var/folders/4f/s_wvdrd15ljdywkl0tcp25r00000gp/T/xargo.ouXA0l2gIqCc/Cargo.toml" "--target" "armv7-unknown-linux-steedeabihf" "-p" "core"` failed with exit code: Some(101) | |
note: run with `RUST_BACKTRACE=1` for a backtrace | |
Socrates:hello-world3 bRad$ rustup target list | |
aarch64-apple-ios | |
aarch64-linux-android | |
aarch64-unknown-fuchsia | |
aarch64-unknown-linux-gnu | |
arm-linux-androideabi | |
arm-unknown-linux-gnueabi | |
arm-unknown-linux-gnueabihf | |
arm-unknown-linux-musleabi | |
arm-unknown-linux-musleabihf | |
armv7-apple-ios | |
armv7-linux-androideabi | |
armv7-unknown-linux-gnueabihf (installed) | |
armv7-unknown-linux-musleabihf | |
armv7s-apple-ios | |
asmjs-unknown-emscripten | |
i386-apple-ios | |
i586-pc-windows-msvc | |
i586-unknown-linux-gnu | |
i686-apple-darwin | |
i686-linux-android | |
i686-pc-windows-gnu | |
i686-pc-windows-msvc | |
i686-unknown-freebsd | |
i686-unknown-linux-gnu | |
i686-unknown-linux-musl | |
mips-unknown-linux-gnu | |
mips-unknown-linux-musl | |
mips64-unknown-linux-gnuabi64 | |
mips64el-unknown-linux-gnuabi64 | |
mipsel-unknown-linux-gnu | |
mipsel-unknown-linux-musl | |
powerpc-unknown-linux-gnu | |
powerpc64-unknown-linux-gnu | |
powerpc64le-unknown-linux-gnu | |
s390x-unknown-linux-gnu | |
sparc64-unknown-linux-gnu | |
wasm32-unknown-emscripten | |
x86_64-apple-darwin (default) | |
x86_64-apple-ios | |
x86_64-pc-windows-gnu | |
x86_64-pc-windows-msvc | |
x86_64-rumprun-netbsd | |
x86_64-unknown-freebsd | |
x86_64-unknown-fuchsia | |
x86_64-unknown-linux-gnu | |
x86_64-unknown-linux-musl | |
x86_64-unknown-netbsd | |
Socrates:hello-world3 bRad$ rustc --version | |
rustc 1.18.0-nightly (452bf0852 2017-04-19) | |
Socrates:hello-world3 bRad$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment