You know Alastair, you should really test your code. Gentoo Base System version 1.12.1 Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1500MHz app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r2, 2.5_beta3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-Os -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig cvs distlocks metadata-transfer noinfo nostrip parallel-fetch sandbox sfperms sign" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/" LANG="en_GB.UTF-8" LINGUAS="en zh_TW" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/liquidx/portage-liquidx" SYNC="cvs://liquidx@cvs.gentoo.org:/var/cvsroot" USE="x86 X aac acpi alsa avahi avi berkdb bitmap-fonts bluetooth cjk cli crypt daap dbus dlloader dri dvd dvdread eds emboss encode exif foomaticdb fortran gcj gdbm gif gnome gpm gstreamer gtk gtk2 hal i8x0 imlib ipod ipv6 isdnlog jpeg lapack libg++ libwww logrotate mad mikmod mmx mmx2 mmxext mono motif mp3 mpeg musicbrainz ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcmcia pcre pda pdflib png postgres pppd python quicktime readline real reflection sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts unicode utf8 v4l v4l2 vcd vorbis xml2 xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en linguas_zh_TW userland_GNU video_cards_i810 video_cards_i915 video_cards_v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS