-
Notifications
You must be signed in to change notification settings - Fork 2
Building GCC 4.8.1 from source on pandaboardES
This wiki helps you to build GCC 4.8.1 (latest on this day) on your Padaboard ES running Ubuntu.
Get the source files of GCC 4.8.1 and prepare to build
mkdir ~/GCC
cd ~/GCC
wget www.netgull.com/gcc/releases/gcc-4.8.1/gcc-4.8.1.tar.bz2
(You could use another mirror)
Run GCC's script to build all the prerequisite packages.
./contrib/download_prerequisites
mkdir build
cd build
../configure --disable-multilib
Once the configuration is done, run make
make
make install
NOTE:
In case you end up with some errors after make
, read what the error is and try to solve it or post it as issues to this page (comments).
For example, if make
throws an error like : bits/predefs.h no such file or directory
or sys/cdefs.h no such file or directory
, you could locate predefs.h
and add the whole bits/
directory to /usr/include
. Similarly for cdefs.h. On Ubuntu 12.04 armhf desktop image with all ti-omap4 packages installed, it's better to sudo cp -r /usr/include/arm-linux-gnueabihf/ /usr/include
to avoid such errors during make
.
======================================================================== Visit http://praveenpalanisamy.com for related projects and wikis on Robotics and Computer Vision.