2.4.1 Building SDCC on Linux

  1. Download the source package either from the SDCC Subversion repository or from snapshot builds, it will be named something like sdcc-src-yyyymmdd-rrrr.tar.bz2 http://sdcc.sourceforge.net/snap.php.
  2. Bring up a command line terminal, such as xterm.
  3. Unpack the file using a command like: "tar -xvzf sdcc-src-yyyymmdd-rrrr.tar.bz2'', this will create a sub-directory called sdcc with all of the sources.
  4. Change directory into the main SDCC directory, for example type: "cd sdcc".
  5. Type "./configure". This configures the package for compilation on your system.
  6. Type "make". All of the source packages will compile, this can take a while.
  7. Type "make install" as root. This copies the binary executables, the include files, the libraries and the documentation to the install directories. Proceed with section 2.7.



Build Daemon user 2008-06-26