[rust-dev] cannot build compiler on Mac OSX 10.6.8

Anders Lind anderslindgaard at yahoo.com
Sun Jan 29 17:18:26 PST 2012

anders at Macbook-Pro~/Downloads/rust$ VERBOSE=1 make
make: *** No targets specified and no makefile found.  Stop.
anders at Macbook-Pro~/Downloads/rust$ cd build/
anders at Macbook-Pro~/Downloads/rust/build$ VERBOSE=1 make
cfg: shell host triple x86_64-apple-darwin
cfg: non host triples 
cfg: host for x86_64-apple-darwin is x86_64
cfg: unix-y environment
cfg: using gcc
cfg: no pandoc found, omitting doc/rust.pdf
cfg: no llnextgen found, omitting grammar-verification
cfg: no naturaldocs found, omitting library doc build
g++ -DNVALGRIND -O2 -Wall -Werror -fno-rtti -g -m64 -arch x86_64   -c -o  rt/x86_64-apple-darwin/sync/timer.o  -I ../src/rt -I ../src/rt/isaac -I ../src/rt/uthash -I ../src/rt/arch/x86_64 -I ../src/libuv/include ../src/rt/sync/timer.cpp
cc1plus: error: unrecognized command line option ‘-arch’
make: *** [rt/x86_64-apple-darwin/sync/timer.o] Error 1

 From: Tim Chevalier <catamorphism at gmail.com>
To: Anders Lind <anderslindgaard at yahoo.com> 
Cc: rust-dev at mozilla.org 
Sent: Sunday, January 29, 2012 5:14 PM
Subject: Re: [rust-dev] cannot build compiler on Mac OSX 10.6.8
On Sun, Jan 29, 2012 at 5:12 PM, Anders Lind <anderslindgaard at yahoo.com> wrote:
> got download with ok hash
> opening snapshot
> dl/rust-stage0-2012-01-18-8c97854-macos-x86_64-e6879151e8b18ced016c8766142edb0189c53c73.tar.bz2
> extracting rust-stage0/bin/rustc
> extracting rust-stage0/lib/libcore-14bd852465126fe7-0.1.dylib
> extracting rust-stage0/lib/libstd-79ca5fac56b63fde-0.1.dylib
> extracting rust-stage0/lib/librustc-4171d83aef249987-0.1.dylib
> extracting rust-stage0/lib/librustrt.dylib
> extracting rust-stage0/lib/librustllvm.dylib
> compile: rt/x86_64-apple-darwin/sync/timer.o
> cc1plus: error: unrecognized command line option ‘-arch’
> make: *** [rt/x86_64-apple-darwin/sync/timer.o] Error 1

Can you recompile by doing "VERBOSE=1 make" and then post the output?


Tim Chevalier * http://catamorphism.org/ * Often in error, never in doubt
“I cannot hide my anger to spare you guilt, nor hurt feelings, nor
answering anger; for to do so insults and trivializes all our efforts.
Guilt is not a response to anger; it is a response to one’s own
actions or lack of action.” -- Audre Lorde
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20120129/a79fa50f/attachment.html>

More information about the Rust-dev mailing list