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

Anders Lind anderslindgaard at yahoo.com
Sun Jan 29 19:37:08 PST 2012


Yes, I think you are right Brian. I just tried gcc 4.2. I got the same error.
Not sure what's going on.



________________________________
 From: Brian  Anderson <banderson at mozilla.com>
To: Ben Noordhuis <info at bnoordhuis.nl> 
Cc: rust-dev at mozilla.org; Anders Lind <anderslindgaard at yahoo.com> 
Sent: Sunday, January 29, 2012 7:25 PM
Subject: Re: [rust-dev] cannot build compiler on Mac OSX 10.6.8
 
----- 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20120129/8dff6f78/attachment.html>


More information about the Rust-dev mailing list