next up previous contents
Next: Building binutils Up: MOSS ``A Soft Blanket Previous: Example MOSS application

Building MOSS

 

Note that if you download the pre-built MOSS binary distribution, you don't have to build MOSS yourself unless you want to change it. In addition, even if you do want to modify MOSS itself, you can generally still use the pre-built cross-compiler tools (GCC and binutils) without recompiling them as well. This section contains step-by-step instructions to build everything, including GCC, binutils, and MOSS; if you only want to build MOSS and use the pre-built compiler tools, just skip to Section 3.

Besides the basic cross-development tools above, you will also need GNU `make' in order to compile MOSS yourself. If you are using Linux, you probably already have GNU make; if you are on BSD or another system, you will need to get a copy (e.g. from ftp://prep.ai.mit.edu/pub/gnu). Of course, you can use any `make' you want (or none at all) to build MOSS applications.

Throughout this process, we assume you want to install the cross-compiler setup in /usr/local. (All of the installed cross-compiler binaries and related utilities will have names prefixed with `i386-moss-', so they should not conflict with other programs you may have there.) If you would like to install the tools somewhere else, just supply the appropriate -prefix options to the configure commands below.





Bryan Ford