User:RichardJune/Build Environment Update

From ImageStream Router Documentation

(Difference between revisions)
Jump to: navigation, search
Line 13: Line 13:
# sudo rm /bin/sh
# sudo rm /bin/sh
# sudo ln -s /bin/bash /bin/sh
# sudo ln -s /bin/bash /bin/sh
# export CVSROOT=""
# export CVSROOT=""
# cvs login
# cvs login
# cvs co rbe
# cvs co rbe

Revision as of 17:56, 10 March 2009


  1. Ubuntu is the distribution most commonly used internally, other distributions should work, but are unknown.
  2. Gcc 3.3 and Gcc 3.4 are the only versions known to work. One of them should be /usr/bin/gcc-3.3 or /usr/bin/gcc-3.4
  3. /bin/sh should be a symlink to /bin/bash.
  4. You must have a username and password from us to download the build environment.


  1. download ubuntu and make CD
  2. Just do the default installation
  3. After installation, reboot and login, open a terminal and run the following
  4. sudo apt-get upgrade
  5. sudo apt-get install patch gcc-3.4 cvs bison flex openssh-server
  6. sudo rm /bin/sh
  7. sudo ln -s /bin/bash /bin/sh
  8. export CVSROOT=""
  9. cvs login
  10. cvs co rbe
  11. cd rbe
  12. make crosscomp
The build environment is now setup, you will find gcc, etc in crosscomp/gcc-3.2.3-glibc-2.2.2/i686-unknown-linux-gnu/i686-unknown-linux-gnu/bin/. Use those tools to build.
Personal tools
Router software releases