Hi On Sunday 19 December 2004 20:09, Andi Kleen wrote: > Short howto: > > Get > ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20041219/gcc-core-4.0-20041219.tar. >bz2 > > Untar it and compile with > > mkdir obj > ../gcc-*/configure --disable-checking --enable-languages=c > --prefix=/usr/local/gcc4 make bootstrap > > make install > > > Then compile an uptodate 2.6 kernel with: > > make allmodconfig > make CC=/usr/local/gcc4/bin/gcc 2>&1 | tee LOG > grep warning LOG Cool howto, thanks. Maybe that should go onto the TODO list over at kerneljanitors.org? > > You'll see lots of warnings in LOG. Fix them all and submit patches > through the usual janitor channels. I already compiled GCC4 and it took about 15 minutes on an Athlon Tbird 1.4 GHz to finish. When compiling Linux 2.6.10-rc3 with GCC4 there are lots of warnings (as expected) and even a fatal error. So I'm trying to fix some of these warnings. They are all over the kernel tree and so I'm curious what would be the best method to split and submit the patches? Thanks, Tobias -- Tobias Klauser GPG-Key 0x3A445520 http://tklauser.politux.org/tklauser.asc Fingerprint = 7474 D486 E4FC 5113 561D B1E3 72BC 0E7E 3A44 5520