Christopher,

I took a closer look at the output:

configure:10426: checking for host gcc c++0x headers bug without rtti 
configure:10438: c++ -c   -std=gnu++0x   conftest.C 1>&5 
cc1plus: error: unrecognized command line option "-std=gnu++0x" 
configure: failed program was: 
#line 10431 "configure" 
#include "confdefs.h" 
#include <memory> 
int main() { 

; return 0; } 

I went ahead and created the conftest.C in a test location, minus #include 
"confdefs.h" so it looks something like this:

#include <memory> 
int main() { 

; return 0; } 

Then I attempted to run: c++ -c   -std=gnu++0x   conftest.C

There was no error on my system.  I am assuming your system will complain.  On 
my system here's where c++ is and where it links to:

scout:random artlogic$ which -a c++
/usr/bin/c++
scout:random artlogic$ ls -l /usr/bin/c++
lrwxr-xr-x  1 root  admin  7 Sep 19 11:40 /usr/bin/c++ -> clang++

Is this different from your system?

On Wednesday, October 16, 2013 8:07:00 PM UTC-4, Christopher De Cairos wrote:
> Same output, unfortunately. I'm going to start from scratch again just 
> 
> in case.
> 
> 
> 
> Regards,
> 
> 
> 
> Christopher De Cairos
> 
> Integration Engineer - Webmaker
> 
> Mozilla Foundation
> 
> 
> 
> On 2013-10-16 4:14 PM, James Kruth wrote:
> 
> > Everything looks proper to me.  You might perform a the following:
> 
> >
> 
> > brew update
> 
> > brew upgrade
> 
> >
> 
> > After that completes, I'd appreciate it if you'd attempt another build by 
> > running ./build.sh in your b2g root.  I'm hoping it completes this time.  I 
> > just followed the same procedure and mine did.
> 
> >
> 
> > - James
> 
> >
> 
> > On Wednesday, October 16, 2013 3:47:12 PM UTC-4, Christopher De Cairos 
> > wrote:
> 
> >> 'g++-4.6' -v outputs:
> 
> >>
> 
> >>
> 
> >>
> 
> >> Using built-in specs.
> 
> >>
> 
> >> COLLECT_GCC=g++-4.6
> 
> >>
> 
> >> COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc-4.6/4.6.3/gcc/libexec/gcc/x86_64-apple-darwin12.4.0/4.6.3/lto-wrapper
> 
> >>
> 
> >> Target: x86_64-apple-darwin12.4.0
> 
> >>
> 
> >> Configured with: ../configure --enable-languages=c,c++ 
> >> --prefix=/usr/local/Cellar/gcc-4.6/4.6.3/gcc 
> >> --datarootdir=/usr/local/Cellar/gcc-4.6/4.6.3/share 
> >> --bindir=/usr/local/Cellar/gcc-4.6/4.6.3/bin --program-suffix=-4.6 
> >> --with-gmp=/usr/local/Cellar/gmp/5.1.2 
> >> --with-mpfr=/usr/local/Cellar/mpfr/3.1.2 
> >> --with-mpc=/usr/local/Cellar/libmpc/1.0.1 --with-system-zlib 
> >> --enable-stage1-checking --enable-plugin --enable-lto --enable-multilib 
> >> --disable-nls
> 
> >>
> 
> >> Thread model: posix
> 
> >>
> 
> >> gcc version 4.6.3 (GCC)
> 
> >>
> 
> >>
> 
> >>
> 
> >> I attempted to link it without the --overwrite, but it said that it had to 
> >> overwrite some files to complete it. The brew install command appeared to 
> >> complete successfully.
> 
> >>
> 
> >>
> 
> >>
> 
> >> Output of `cd build && git diff` (after resetting to an initial state):
> 
> >>
> 
> >>
> 
> >>
> 
> >> diff --git a/core/combo/HOST_darwin-x86.mk b/core/combo/HOST_darwin-x86.mk
> 
> >>
> 
> >> index f1c7966..f13ede6 100644
> 
> >>
> 
> >> --- a/core/combo/HOST_darwin-x86.mk
> 
> >>
> 
> >> +++ b/core/combo/HOST_darwin-x86.mk
> 
> >>
> 
> >> @@ -72,7 +72,10 @@ ifneq ($(findstring llvm-gcc,$(GCC_REALPATH)),)
> 
> >>
> 
> >>        $(warning ****************************************)
> 
> >>
> 
> >>    endif
> 
> >>
> 
> >>
> 
> >>
> 
> >> -HOST_CXX := g++
> 
> >>
> 
> >> +HOST_CXX := g++-4.6
> 
> >>
> 
> >> +ifeq (,$(wildcard /usr/local/bin/g++-4.6))
> 
> >>
> 
> >> + HOST_CXX := g++
> 
> >>
> 
> >> +endif
> 
> >>
> 
> >>    HOST_AR := $(AR)
> 
> >>
> 
> >>    HOST_STRIP := $(STRIP)
> 
> >>
> 
> >>    HOST_STRIP_COMMAND = $(HOST_STRIP) --strip-debug $< -o $@
> 
> >>
> 
> >>
> 
> >>
> 
> >> Regards,
> 
> >>
> 
> >>
> 
> >>
> 
> >> Christopher De Cairos
> 
> >>
> 
> >> Integration Engineer - Webmaker
> 
> >>
> 
> >> Mozilla Foundation
> 
> >>
> 
> >>
> 
> >>
> 
> >> On 2013-10-16 3:20 PM, James Kruth wrote:
> 
> >>
> 
> >>> g++-4.6 -v
> 
> > _______________________________________________
> 
> > dev-b2g mailing list
> 
> > [email protected]
> 
> > https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to