ian@tqft-l:~$ uname -a
Linux tqft-l 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:27:26 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
ian@tqft-l:~$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc-4.6.real
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
http://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites
http://dev.chromium.org/developers/how-tos/get-the-code Nb: Bootstrap notes for Ubuntu are here - install-build-deps.sh
http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
assumes ccache installed
you will need plenty of memory - wiki says ". It's recommended to have at least 4GB ". There was a slashdot item recently which I didn't read apparently about chromium build requirements
-----------------------------------------
#add depot tools to path
export PATH="$PATH":`pwd`/depot_tools
#enable ccache
export CC='ccache gcc-4.6'
export CXX='ccache g++-4.6'
#4.5 is an unknown quantity, 4.4 might work but it didn't for me
#do the build
export GYP_GENERATORS=make && gclient runhooks --force && gclient sync --deps="unix,chromeos" && cd /sourcetrees/programs/chromium/src && ./build/gyp_chromium -Dwerror=0 -Dwerror= -DWerror=unused-but-set-variable && make -j4 BUILDTYPE=Release V=1 chrome
# technically some of the above steps only need to be run once, not each time unless something eg in the deps changes,
#the Dwerror= bits are for when you get compile errors. By default all warnings and errors are fatal and the build stops, You may need to tweak that if other errors occur
-----------------------------------------------
-j4 still takes a long time
the "chrome" in the last step appears to be required for the x64 as I don't have it in my x32 build script which was working as of this morning, not sure what the difference is - I kept getting an error nothing to do for all, so I told it to do something and it worked
Result: http://imgur.com/M1XDo
http://imgur.com/YeWR0
If I had of known on Tuesday that I would be off all week including Friday I would have started a Buffython or LoTRthon. Haven't fixed printer or wife's laptop wifi connection which only intermittently auto connects.