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 <[email protected]>
To: Ben Noordhuis <[email protected]>
Cc: [email protected]; Anders Lind <[email protected]>
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" <[email protected]>
> To: "Anders Lind" <[email protected]>
> Cc: [email protected]
> 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
> <[email protected]> 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.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev