Thank you Ben. But how can I specify which gcc I want to use? Thank you.
________________________________
From: Ben Noordhuis <[email protected]>
To: Anders Lind <[email protected]>
Cc: Tim Chevalier <[email protected]>; "[email protected]"
<[email protected]>
Sent: Sunday, January 29, 2012 5:31 PM
Subject: Re: [rust-dev] cannot build compiler on Mac OSX 10.6.8
On Mon, Jan 30, 2012 at 02:18, Anders Lind <[email protected]> wrote:
> anders@Macbook-Pro~/Downloads/rust$ VERBOSE=1 make
> make: *** No targets specified and no makefile found. Stop.
> anders@Macbook-Pro~/Downloads/rust$ cd build/
> anders@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
That's a bug in / shortcoming of the gcc from MacPorts, at least some
versions of it. Try the gcc that comes with XCode.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev