2.2 Install paths
| Description |
Path |
Default |
Win32 builds |
| Binary files* |
$EXEC_PREFIX |
/usr/local/bin |
\sdcc\bin |
| Include files |
$DATADIR/ |
|
|
| $INCLUDE_DIR_SUFFIX |
/usr/local/share/ |
|
|
| sdcc/include |
\sdcc\include |
|
|
| Non-free include files |
$DATADIR/non-free/ |
|
|
| $INCLUDE_DIR_SUFFIX |
/usr/local/share/ |
|
|
| sdcc/non-free/include |
\sdcc\non-free\include |
|
|
| Library file** |
$DATADIR/ |
|
|
| $LIB_DIR_SUFFIX |
/usr/local/share/ |
|
|
| sdcc/lib |
\sdcc\lib |
|
|
| Library file** |
$DATADIR/non-free/ |
|
|
| $LIB_DIR_SUFFIX |
/usr/local/share/ |
|
|
| sdcc/non-free/lib |
\sdcc\non-free\lib |
|
|
| Documentation |
$DOCDIR |
/usr/local/share/ |
|
| sdcc/doc |
\sdcc\doc |
|
|
The install paths can still be changed during `make install'
with e.g.:
-
- make install prefix=$(HOME)/local/sdcc
Of course this doesn't change the search paths compiled into the binaries.
Moreover the install path can be changed by defining DESTDIR:
-
- make install DESTDIR=$(HOME)/sdcc.rpm/
Please note that DESTDIR must have a trailing slash!