Next: 3.4 Storage Class Language
Up: 3. Using SDCC
Previous: 3.2.11 Redirecting output on
Contents
Index
3.3 Environment variables
SDCC recognizes the following environment variables:
- [SDCC_LEAVE_SIGNALS] SDCC
installs a signal handler to be able to delete
temporary files after an user break (^C) or an exception.
If this environment variable is set, SDCC won't install the signal
handler in order to be able to debug SDCC.
- [TMP, TEMP, TMPDIR] Path,
where temporary files will be created. The order of the variables
is the search order. In a standard *nix environment these variables
are not set, and there's no need to set them. On Windows it's recommended
to set one of them.
- [SDCC_HOME] Path, see section 2.2 ''
Install Paths''.
- [SDCC_INCLUDE] Path, see section
2.3 ''Search Paths''.
- [SDCC_LIB] Path, see section 2.3 ''Search
Paths''..
There are some more environment variables recognized by SDCC, but
these are solely used for debugging purposes. They can change or disappear
very quickly, and will never be documented.
2008-12-05