GNU Compiler mod for Smoothwall 2.0 ----------------------------------- Many people have been asking to install the GCC compiler on their SW box. While this is to be discouraged, it has become such a FAQ that I decided to see if it could be done. I discovered that it was relatively easy. This mod is the result of my efforts. It contains a full GNU development toolchain, and has been tested under SW Express 2.0. This mod is sufficient to build a full GCC compiler on a SW2 box - that indicates that you can build pretty much anything. The package contains -------------------- 1. GCC 3.3.5 (C, C++, Objective C, Fortran, and Pascal) 2. GNU Coreutils 3. Binutils 4. Diffutils 5. Gettext 6. Bison 2.0 7. Make 8. Patch 9. GPerf 10. And a whole load of GNU tools 11. GNU Include and Library files This package, when extracted, requires about 120mb of disk space, so make sure that you have at least that amount of free disk space on your SW box. Installation ------------ 1. Download: http://www.greatchief.plus.com/smoothwall/gnu_compilers-v2.tar.bz2 2. copy it to your SW 2 "/tmp" directory 3. Change to the /tmp directory 4. Run the command: tar -jxvf gnu_compilers-v2.tar.bz2 -C / This will extract the files into a new directory: "/usr/gnu/" 5. Add "/usr/gnu/bin" to your PATH - i.e., edit .bashrc and add this line at the end of it: export PATH=$PATH:/usr/gnu/bin And you are ready! NOTE: you can install this over an existing installation of this mod. There is no need to uninstall first. Uninstall --------- Remove this directory: "/usr/gnu" You do it with this command: "rm -rf /usr/gnu/" Sources ------- The contents of this package were all built from unpatched, pristine, GNU sources. The sources are available on http:/www.gnu.org or its mirrors. The Pascal sources (gpc-20041218) are available from http://www.gnu-pascal.de. These are all GLPed stuff, so I am supposed to make the source code available to those who want them. If anyone wants the sources and feels too lazy to search the GNU web site for them, then drop me a line and I will give you a specific link to the sources that you want. DISCLAIMER ---------- Smoothwall is a security appliance. You should NOT install development tools on your Smoothwall box, as this may compromise the security that SW is meant for. If you install and/or use this mod, then you are on your own. This package is provided with no warranties whatsoever. You'd better make sure that you know what you are doing before trying this mod. I accept no responsibility for any loss or damage to your SW box, to your marriage, to your life, or to anything else that pertains to you, arising from the use or the purported use of this mod, for any purpose whatsoever. -------------------------- January 2005, The African Chief. http://www.greatchief.plus.com