Legacy branches of Firefox OS need multiarch packages installed. Newer operating systems do not have these installed by default.
Run these commands to enable use on the i386 architecture:
sudo dpkg --add-architecture i386
sudo apt-get update
Run this command to install necessary packages:
sudo apt-get install --no-install-recommends autoconf2.13 bison bzip2 ccache curl flex gawk gcc g++ g++-multilib gcc-4.7 g++-4.7 g++-4.7-multilib git lib32ncurses5-dev lib32z1-dev libgconf2-dev zlib1g:amd64 zlib1g-dev:amd64 zlib1g:i386 zlib1g-dev:i386 libgl1-mesa-dev libx11-dev make zip ia32-libs libxml2-utils lzop openjdk-7-jdk
Run these commands to make gcc-4.7
the default compiler:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 1
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.7 1
sudo update-alternatives --set gcc "/usr/bin/gcc-4.7"
sudo update-alternatives --set g++ "/usr/bin/g++-4.7"
Document Tags and Contributors
Last updated by:
chrisdavidmills,