Live sources (git)
GNU Smalltalk's latest source code is accessible also through CVS and Git
Anonymous Git access
Git is a distributed version control system. GNU Smalltalk's Git repository can be accessed through HTTP as well as through the faster Git protocol.
Either of the following commands will clone GNU Smalltalk's repository on your machine:
git clone git://git.sv.gnu.org/smalltalk.git git clone http://git.sv.gnu.org/r/smalltalk.git
Cloning automatically creates a branch for your work, called master. If you want to base your work on a stable release, you can create local branches from the official stable branches:
git checkout -b stable-3.2 origin/stable-3.2
You can also browse the Git repository within a web browser. This gives you a good picture of the current status of the source files. You may also view the complete histories of any file in the repository as well as differences among two versions. Gitweb also allows you to get the latest source code as a tarball, from the following URLs:
Git is the primary version control system used in GNU Smalltalk's development. By setting up your own public repositories for GNU Smalltalk branches (for example at http://git.or.cz), you will facilitate integration of your code into the main distribution. Some developers made their repository public, see the wiki page for more info.
Anonymous CVS access
Alternatively, a CVS repository can be checked out through anonymous CVS with one the following commands (again, respectively for the stable and development branches).
cvs -d :pserver:firstname.lastname@example.org:/smalltalk.git co -d smalltalk master cvs -d :pserver:email@example.com:/smalltalk.git co -d smalltalk stable-3.0
When you update from within the checked out directory you do not need the -d options anymore:
After checking out the Git or CVS repositories, in order to build GNU Smalltalk you will need the following tools installed:
- Autoconf 2.68 or later
- Automake 1.11 or later
- GCC 4.2 or later
- Libtool 2.4 or later
- Bison 2.0 or later
- Flex 2.5.x
You will need to issue the following commands:
autoreconf -vi ./configure make