I think, you should try this : gcc34-3.4.6-i486-2compat.tgz
( gcc34-g++34-3.4.6-i486-2compat.tgz )
http://www.slackware.com/~alien/slac...cc34/pkg/12.0/
.... I'm using this in Slackware 12.2 .
No problem having 2-4 different gcc's, like in Debian,
examples .....
./configure CC=/usr/gcc34/bin/gcc34 CXX=/usr/gcc34/bin/g++34
( make CC=gcc34 , ... if you make a link to e.g. /usr/bin/ )
.....
For kernel compilation it may be necessary to replace the
/usr/bin/gcc link temporarely, like said by pljvaldez.
.....