Dpuiu Linux: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= Sourceforge = | = Version Control = | ||
== Sourceforge == | |||
shell server: shell.sourceforge.net | shell server: shell.sourceforge.net | ||
CVS server: PROJECTNAME.cvs.sourceforge.net | CVS server: PROJECTNAME.cvs.sourceforge.net | ||
Subversion server: PROJECTNAME.svn.sourceforge.net | Subversion server: PROJECTNAME.svn.sourceforge.net | ||
Authentication: | |||
* [http://alexandria.wiki.sourceforge.net/SSH+Key+Generation KeyGen] | * [http://alexandria.wiki.sourceforge.net/SSH+Key+Generation KeyGen] | ||
* Generate the enw key: | * Generate the enw key: | ||
Line 13: | Line 13: | ||
* Upload key to the Sourceforge server ("Account Maintenance" site) | * Upload key to the Sourceforge server ("Account Maintenance" site) | ||
= CVS = | == CVS == | ||
* Local CVS | * Local CVS | ||
Line 70: | Line 70: | ||
http://amos.cvs.sourceforge.net/viewvc/amos/ | http://amos.cvs.sourceforge.net/viewvc/amos/ | ||
= | = Build = | ||
* [http://www.gnu.org/software/autoconf/ autoconf] extensible package of M4 macros that produce shell scripts to automatically configure software source code packages | * [http://www.gnu.org/software/autoconf/ autoconf] extensible package of M4 macros that produce shell scripts to automatically configure software source code packages | ||
* [http://www.gnu.org/software/m4/m4.html m4] [http://www.gnu.org/software/m4/manual/m4.pdf man] implementation of the traditional Unix macro processor | * [http://www.gnu.org/software/m4/m4.html m4] [http://www.gnu.org/software/m4/manual/m4.pdf man] implementation of the traditional Unix macro processor | ||
* [http://www.gnu.org/software/libtool/libtool.html libtool] generic library support script. Libtool hides the complexity of using shared libraries behind a consistent, portable interface. | * [http://www.gnu.org/software/libtool/libtool.html libtool] generic library support script. Libtool hides the complexity of using shared libraries behind a consistent, portable interface. | ||
= | = Config = | ||
* [http://en.wikipedia.org/wiki/Gconf-editor gconf-editor] | * [http://en.wikipedia.org/wiki/Gconf-editor gconf-editor] | ||
Line 81: | Line 81: | ||
* ftp - i : turns interactive mode off | * ftp - i : turns interactive mode off | ||
* > prompt : turns interactive mode off | * > prompt : turns interactive mode off | ||
= Utils = | |||
* [http://en.wikipedia.org/wiki/Coreutils Coreutils] | |||
* [http://en.wikipedia.org/wiki/Binutils Binutils] | |||
strip executable # removes debugging info => executable_new | |||
gcc -pg source -o executable # -pg: profiling flag | |||
gprof options executuable > outfile |
Revision as of 11:06, 12 December 2008
Version Control
Sourceforge
shell server: shell.sourceforge.net CVS server: PROJECTNAME.cvs.sourceforge.net Subversion server: PROJECTNAME.svn.sourceforge.net
Authentication:
- KeyGen
- Generate the enw key:
sh-keygen -t dsa -C dxpuiu@shell.sf.net cat /nfshomes/dpuiu/.ssh/id_dsa.pub >> /nfshomes/dpuiu/.ssh/authorized_keys
- Upload key to the Sourceforge server ("Account Maintenance" site)
CVS
- Local CVS
echo $CVSROOT /fs/szdevel/src/cvsroot
/fs/szdevel/src/cvsroot/users/dpuiu/
- Checkout
cvs -z3 -d:ext:dxpuiu@amos.cvs.sourceforge.net:/cvsroot/amos co -P AMOS
- Add a new file
cd src/Utils cp ~/bin/file . cvs add file cvs ci
- Add a new dir
cd src/Utils cp -R ~/bin/dir . cvs add dir cvs ci cd dir cvs add * cvs ci
- Update files
cd src/Utils cvs update
- Check status
cvs status -v | grep Status:
- Tagging a file
cvs tag file.tag file
- Downloading a tagged file
cvs co -r file.tag file
- Options
-l : Local; run only in current working directory, rather than recursing through subdirectories. -R: Recursive (default) -m message
- Keep track of the version in the code :
Add following line: my $VERSION = '$Revision: 1.0 $ '; Revision gets automatically incremented when "cvs ci"; no need to "cvs update"
- View file
http://amos.cvs.sourceforge.net/viewvc/*checkout*/amos/AMOS/src/Utils/seq2amos.pl
- View all files
http://amos.cvs.sourceforge.net/viewvc/amos/
Build
- autoconf extensible package of M4 macros that produce shell scripts to automatically configure software source code packages
- m4 man implementation of the traditional Unix macro processor
- libtool generic library support script. Libtool hides the complexity of using shared libraries behind a consistent, portable interface.
Config
Commands
- ftp - i : turns interactive mode off
- > prompt : turns interactive mode off
Utils
strip executable # removes debugging info => executable_new gcc -pg source -o executable # -pg: profiling flag gprof options executuable > outfile