====== File system hierarchy ====== The Wonderful toolchain lives in ''/opt/wonderful''. Tools should avoid hardcoding that path, instead relying on the ''WONDERFUL_TOOLCHAIN'' environment variable. The hierarchy of folders in the toolchain's directory is arranged as follows: * ''bin'' - Toolchain-wide binaries; most of them are prefixed with ''wf-'', so this directory should be safe to add to ''PATH'' without conflict. * ''doc'' - Per-package documentation. * '''' * ''etc'' - Toolchain-wide configuration. * ''lib'' - Toolchain-wide libraries. * ''pacman'' - wf-pacman package manager state (cache, database, et cetera). * ''share'' - Only used by wf-pacman's makepkg. (TODO: This is probably a good idea to merge with ''lib'') * ''tmp'' - Temporary files. There are also per-target/per-toolchain folders: * ''examples'' - Target-specific examples. * '''' * ''target'' - Target-specific library and include files. * '''' * ''include'' * ''lib'' * ... * ''templates'' - Target-specific project templates. * '''' * ''