मैं सिर्फ अपने Mac पर जंग स्थापित किया है और rustc --version --verbose
प्रदर्शित करता हैजब "कार्गो निर्माण"
rustc 1.0.0-nightly (91bdf23f5 2015-03-09) (built 2015-03-08)
binary: rustc
commit-hash: 91bdf23f504f79ed59617cde3dfebd3d5e39a476
commit-date: 2015-03-09
build-date: 2015-03-08
host: x86_64-apple-darwin
release: 1.0.0-nightly
चल रहा खजाने की एक जोड़ी (postgres-extension और erlang-rust-nif) क्लोन और पर cargo build
भाग गया लिंकर `cc` त्रुटि exec नहीं किया जा सका वो दोनों। दोनों
error: could not exec the linker `cc`: No such file or directory (os error 2)
error: aborting due to previous error
इसके अतिरिक्त त्रुटि की सूचना दी, मैं एक साधारण जंग फ़ाइल मुद्रण "hello world"
rustc का उपयोग कर संकलित करने के लिए सक्षम नहीं था। मैं केवल झंडे rustc -C linker=gcc hello_world.rs
पास करके उन्हें संकलित करने में सक्षम था।
clang --version
प्रदर्शित करता है
clang version 3.4.2 (http://llvm.org/git/llvm.git 5c6aa738fb3325ae499454877f1e2926d2368135)
Target: x86_64-apple-darwin12.2.1
Thread model: posix
gcc --version
प्रदर्शित करता है
gcc (Homebrew gcc49 4.9.2_1) 4.9.2
'सीसी' वापस क्या करता है? –
वर्तमान में मैंने अपने '.bash_profile' में' alias cc = gcc' के रूप में 'उपनाम' बनाया है। इसलिए यह कुछ भी नहीं देता है। – abips