Next: 2.4.2 Building SDCC on
Up: 2.4 Building SDCC
Previous: 2.4 Building SDCC
Contents
Index
2.4.1 Building SDCC on Linux
- 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.
- Bring up a command line terminal, such as xterm.
- 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.
- Change directory into the main SDCC directory, for example type: "cd
sdcc".
- Type "./configure". This configures
the package for compilation on your system.
- Type "make". All of the source
packages will compile, this can take a while.
- 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.
2008-12-05