📄 dmalloc.spec
字号:
## Dmalloc RPM file for building of .rpm files for Redhat Linux systems.## $Id: dmalloc.spec,v 1.31 2004/10/19 14:50:52 gray Exp $#Summary: Debug Malloc (Dmalloc)Name: dmallocVersion: 5.4.2Release: 1Group: Development/LibrariesCopyright: public domainURL: http://dmalloc.com/Source: http://dmalloc.com/releases/%{name}-%{version}.tgzBuildRoot: /var/tmp/%{name}-buildrootPrefix: /usr%descriptionThe debug memory allocation or "dmalloc" library has been designed asa drop in replacement for the system's `malloc', `realloc', `calloc',`free' and other memory management routines while providing powerfuldebugging facilities configurable at runtime. These facilitiesinclude such things as memory-leak tracking, fence-post writedetection, file/line number reporting, and general logging ofstatistics. It also provides support for the debugging of threadedprograms. Releases and documentation available online. http://dmalloc.com/%prep%setup%buildCFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=${RPM_BUILD_ROOT}/usr --enable-threads --enable-shlib --enable-cxx# NOTE: we make the test program first because otherwise it screws up# and tried to use the .so instead of the .a for some stupid reasonmake dmalloc_t all light%installmake install installcxx installth installsl%cleanrm -rf ${RPM_BUILD_ROOT}%files%defattr(444,root,root,755)%doc INSTALL README NEWS%doc docs/dmalloc.info docs/dmalloc.html docs/dmalloc.texi%attr(755,root,root) /usr/bin/dmalloc/usr/include/dmalloc.h/usr/lib/libdmalloc.a/usr/lib/libdmalloc.so/usr/lib/libdmallocxx.a/usr/lib/libdmallocxx.so/usr/lib/libdmallocth.a/usr/lib/libdmallocth.so/usr/lib/libdmallocthcxx.a/usr/lib/libdmallocthcxx.so
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -