On Wednesday, January 28, 2015 at 3:26:24 PM UTC+2, Kyle Huey wrote: > That's because code was (incorrectly) checked in that requires gcc 4.7 to > build. Gecko is going to continue to only require 4.6 for the time being. > > - Kyle > > > > > > On Wed, Jan 28, 2015 at 7:07 PM, Shian-Yow Wu <[email protected]> wrote: > > The MDN suggests setting gcc version to 4.6 to build Firefox OS. > > https://developer.mozilla.org/en-US/Firefox_OS/Firefox_OS_build_prerequisites > > https://developer.mozilla.org/en-US/Firefox_OS/Customization_with_the_.userconfig_file#Changing_the_default_host_compiler > > On latest mozilla central, however, when building gecko there could be error > with this setting. > Below is the error when building gecko on Ubuntu 14.04 using gcc 4.6. > 0:09.19 ../../../../dist/include/GMPUtils.h:22:1: error: expected > unqualified-id before 'using' > > To solve this, either use gcc 4.6 with --std=c++11 option, or upgrade to gcc > 4.7 or later(thanks to Tommy Kuo for this info). > > Do we still need gcc 4.6 as Firefox OS build prerequisite? If not, probably > we should remove this part from MDN. > > -- > > > > > > Shian-Yow > > > > _______________________________________________ > > dev-b2g mailing list > > [email protected] > > https://lists.mozilla.org/listinfo/dev
So what's the final word on this, can B2G be built with gcc 4.9 or not? I'm on Arch Linux and there seems to be some problems with gcc 4.6, must I rescue my Debian partition? _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
