Some updates on what appears to be going on here:

* On Xcode 4.x, /usr/bin/gcc was a symlink, likely to llvm-gcc-4.2 (which 
apparently wouldn't produce a usable emulator build - I'm not sure about inari)
* With the Xcode 5 update, the CLI tools have replaced that symlink with an 
actual binary, which is clang, as opposed to gcc.

The build obviously doesn't compile with clang, and so things are broken in 
their current state.  I'd be curious to know if Christopher's modifications 
gave him a working inari build.

Where is the appropriate place to report a bug like this?

- James


On Saturday, October 12, 2013 12:59:23 AM UTC-4, James Kruth wrote:
> Actually, Keon is called out specifically:
> 
> 
> 
> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites#Requirements_for_Mac_OS_X
> 
> 
> 
> At this point, I'm willing to say it's not a problem with inari, as I just 
> attempted to build for emulator and received the same clang errors.  There's 
> definitely a problem with the build process.
> 
> 
> 
> - James
> 
> 
> 
> 
> 
> On Saturday, October 12, 2013 12:55:27 AM UTC-4, Caio Lima wrote:
> 
> > Guys, I don't remember where, but I have seen in documentation that the
> 
> > 
> 
> > inari build is not working on Mac OS X. I guess it was in "Build the
> 
> > 
> 
> > Firefox OS" on MDN
> 
> > 
> 
> > 
> 
> > 
> 
> > Give a look on this tutorial.
> 
> > 
> 
> > 
> 
> > 
> 
> > On Saturday, October 12, 2013, Reuben Morais wrote:
> 
> > 
> 
> > 
> 
> > 
> 
> > > And yes, I'm pretty sure the bootstrap script should be passing
> 
> > 
> 
> > > --enable-cxx to GCC's configure script. Not entirely sure because it looks
> 
> > 
> 
> > > like Clang is being picked up (and causing the errors in the OP). You can
> 
> > 
> 
> > > manually fix it by doing:
> 
> > 
> 
> > >
> 
> > 
> 
> > >   brew install
> 
> > 
> 
> > > https://raw.github.com/mozilla-b2g/B2G/master/scripts/homebrew/gcc-4.6.rb--enable-cxx
> 
> > 
> 
> > >
> 
> > 
> 
> > > -- reuben
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > -- 
> 
> > 
> 
> > Caio Lima

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to