Author: sewardj Date: 2008-03-09 11:13:07 +0000 (Sun, 09 Mar 2008) New Revision: 7610
Log: Start a file recording how to build big applications for testing Valgrind in various ways. This is much easier than endlessly trying to remember how to build and run (eg) Firefox. Added: branches/HGDEV/docs/internals/BIG_APP_NOTES.txt Modified: branches/HGDEV/docs/internals/Makefile.am Added: branches/HGDEV/docs/internals/BIG_APP_NOTES.txt =================================================================== --- branches/HGDEV/docs/internals/BIG_APP_NOTES.txt (rev 0) +++ branches/HGDEV/docs/internals/BIG_APP_NOTES.txt 2008-03-09 11:13:07 UTC (rev 7610) @@ -0,0 +1,31 @@ + +Building Firefox-2.0.0.12 from source, for testing Helgrind +----------------------------------------------------------- + +wget +ftp://ftp.mozilla.org/pub/firefox/releases/2.0.0.12/source/firefox-2.0.0.12-source.tar.bz2 + +bzip2 -dc firefox-2.0.0.12-source.tar.bz2 | tar xvf - + +mv mozilla firefox-2.0.0.12 + +mkdir InstFirefox20012 +export XYZZYFOOBAR=`pwd`/InstFirefox20012 + +cd firefox-2.0.0.12 + +./configure --prefix=$XYZZYFOOBAR --enable-application=browser \ + --enable-optimize="-O -g" + +make -j 2 +make install + +cd ../InstFirefox20012 + +MOZ_NO_REMOTE=1 NO_EM_RESTART=1 \ +LD_LIBRARY_PATH=`pwd`/lib/firefox-2.0.0.12:\ +`pwd`/lib/firefox-2.0.0.12/components:\ +`pwd`/lib/firefox-2.0.0.12/plugins \ +/home/sewardj/VgTRUNK/hgdev/Inst/bin/valgrind --tool=helgrind \ +--trace-children=no -v ./lib/firefox-2.0.0.12/firefox-bin + Modified: branches/HGDEV/docs/internals/Makefile.am =================================================================== --- branches/HGDEV/docs/internals/Makefile.am 2008-03-09 11:06:41 UTC (rev 7609) +++ branches/HGDEV/docs/internals/Makefile.am 2008-03-09 11:13:07 UTC (rev 7610) @@ -1,6 +1,7 @@ EXTRA_DIST = \ 3_0_BUGSTATUS.txt 3_1_BUGSTATUS.txt \ 3_2_BUGSTATUS.txt 3_3_BUGSTATUS.txt \ + BIG_APP_NOTES.txt \ darwin-notes.txt darwin-syscalls.txt \ directory-structure.txt \ m_replacemalloc.txt \ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers