Difference between revisions of "Didj Build Environment"

From eLinux.org
Jump to: navigation, search
(Initial version. I should sleep after this.)
 
(Updated to reflect changes in buildcross)
Line 16: Line 16:
 
* git clone git://github.com/losinggeneration/buildcross.git
 
* git clone git://github.com/losinggeneration/buildcross.git
 
* cd buildcross
 
* cd buildcross
* sudo mkdir /usr/local/arm-linux
+
* sudo mkdir /usr/local/didj
* sudo chown [your username]:[any group] /usr/local/arm-linux
+
* sudo chown [your username]:[any group] /usr/local/didj
* MAKE="make -j3" ./buildcross.sh -u armlinux -bl
+
* MAKE="make -j3" ./buildcross.sh didj -bl
 
* Replace -j3 with however many processors/cores you have +1
 
* Replace -j3 with however many processors/cores you have +1
  
 
After that, the cross compiler should be built. You should now be able to build binaries for the Didj.
 
After that, the cross compiler should be built. You should now be able to build binaries for the Didj.

Revision as of 20:39, 8 April 2010

Buildcross is able to build a working toolchain that supports C and C++.

  • Prerequisits:
    • gmp (In deb based distros it's often called libgmp-dev or libgmp3-dev)
    • mpfr (In deb based distros it's often called libmpfr-dev)
    • GCC & Binutils
    • Flex
    • Bison
    • Make
    • Makeinfo
    • patch
    • diff
    • And a Unix environment (Only really tested on Linux)

Steps:

  • git clone git://github.com/losinggeneration/buildcross.git
  • cd buildcross
  • sudo mkdir /usr/local/didj
  • sudo chown [your username]:[any group] /usr/local/didj
  • MAKE="make -j3" ./buildcross.sh didj -bl
  • Replace -j3 with however many processors/cores you have +1

After that, the cross compiler should be built. You should now be able to build binaries for the Didj.