mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Dec. 13 2006,14:51 |
|
The packages page is hopelessly out of date. The 50mb self-imposed size limit of DSL requires that any addition to DSL's size in one area results in the removal of something else. As the distro has evolved, the software selection has changed. By the way, cpp is preprocessor, gcc is the gnu C compiler. tcc (tiny C compiler) is available in DSL.
The system know which scripts to run only because of the way it is configured, and the way certain applications (such as bash) are built. As far as choosing the appropriate compiler, this is often done by the makefiles included with source packages. Many of them will set the CC variable to gcc by default, so if you have gcc installed into a standard location (/bin, /usr/bin, /usr/local/bin) it will be found. Otherwise this is a case where manual intervention might be necessary. I don't know what method you use to compile, so i can't say uch about that particular subject. Some other scripts are run automatically simply because that's the way the software has been coded. Bash will run $HOME/.bash_profile when you log in, so if you have any environment variables exported from that script they will apply to subsequent shells. The .bash_profile script can be overridden when you start an x session by changing variables in .xinitrc, which is automatically run when X is started.
If you have a Debian-style harddrive install, any *.dsl or *.tar.gz extesions you add to the system will stay in the system, so the auto-loading of them is not necessary. Extensions named *.uci are mounted, so they will still require auto-loading. A word of caution, however... myDSL extensions that write to the base system are not recommended for a Debian-style installation, and in some cases have been knwn to cause troubles. If you have this type of installation, it is recommended that you consider using Debian packages (apt-get/dpkg) instead of *.dsl or *.tar.gz (uci should still work without trouble).
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|