Showing posts with label generic. Show all posts
Showing posts with label generic. Show all posts
Thursday, December 13, 2012
gdb debug with different library path
$ gdb
(gdb) set solib-absolute-prefix ./libdir
(gdb) file ./a.out
(gdb) core-file ./a.core
Wednesday, November 21, 2012
Wednesday, November 7, 2012
srpms introduction
http://www.rpm.org/max-rpm/s1-rpm-miscellania-srpms.html
http://crashcourse.ca/content/working-source-rpms-under-centos
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
http://crashcourse.ca/content/working-source-rpms-under-centos
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
extract source rpms
1. rpm2cpio - Extract cpio archive from RPM Package Manager (RPM) package.
2. copy files to and from archives
2. copy files to and from archives
rpm2cpio | cpio -id
Subscribe to:
Posts (Atom)