If you need to be on the bleeding edge, you can get the code straight from gpsim's CVS repository on gpsim's SourceForge Page , which is of course hosted by SourceForge. But BE WARNED, the CVS is development code and may be unstable!
First you have to 'login' anonymously to the SorceForge CVS server. This doesn't do anything fancy other than to tell SorceForge that you want to estabilish a link:
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gpsim loginWhen prompted for a password, just press return. You don't need a pass word for anonymous access.
next, you need to checkout the files:
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gpsim checkout .
Don't forget the '.' (period) on the end of the command. This tells cvs that you want everything. Keep in mind that this will download the code on your local computer in the directory from which the command was launched. So you may wish to create a special directory (mkdir gpsim_cvs) and download the code there.
$ libtoolize --force $ aclocal $ autoheader $ automake --force-missing --add-missing $ autoconf $ ./configure $ make
Go get a cup of coffee and read /. as your computer cranks through compiling gpsim. When it's done, you can then install it:
$ su root # make install # exit
And you should be ready to go!
The instructions given above are suitable for building gpsim. However, it's possible to embed gpsim into a custom simulation environment (see KTechLab). Chances are you'll want to build a shared library instead of a static one. This can be accomplished by specify --enable-shared as an option to the configure:
$ ./configure --enable-shared
If one of the developers makes a change to CVS and you just want to update your local copy, then all you need to do is this:
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gpsim update
The 'update' command will compare your local copy with the master CVS copy and then update your's with the differences. It's a whole faster than re-downloading everything.