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-b2g
