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

Brian Anderson banderson at mozilla.com
Sun Jan 29 19:25:43 PST 2012


----- Original Message -----
> From: "Ben Noordhuis" <info at bnoordhuis.nl>
> To: "Anders Lind" <anderslindgaard at yahoo.com>
> Cc: rust-dev at mozilla.org
> Sent: Sunday, January 29, 2012 6:19:53 PM
> Subject: Re: [rust-dev] cannot build compiler on Mac OSX 10.6.8
> 
> On Mon, Jan 30, 2012 at 02:40, Anders Lind
> <anderslindgaard at yahoo.com> wrote:
> > Thank you Ben. But how can I specify which gcc I want to use? Thank
> > you.
> 
> `make CC=/path/to/gcc CXX=/path/to/g++` should work, I think.

I think this will likely not work with our build system, sadly. We have gcc and/or clang hardcoded. Adjusting the PATH variable to make the working gcc come first should work. Probably we should fix our makefiles to respect CC and CXX.


More information about the Rust-dev mailing list