gij is not included on the path (via presence in /usr/bin) when gcc is installed with the gcj USE flag. Other binaries (gcc, g++, gcj) are. Reproducible: Always Steps to Reproduce: 1. Install gcc with USE="gcj" 2. 3. Actual Results: $ gij bash: gij: command not found Expected Results: $ gij Usage: gij [OPTION] ... CLASS [ARGS] ... to invoke CLASS.main, or gij -jar [OPTION] ... JARFILE [ARGS] ... to execute a jar file Try `gij --help' for more information. Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.3.1, glibc-2.7-r2, 2.6.25-gentoo-r7.rivendell x86_64) ================================================================= System uname: 2.6.25-gentoo-r7.rivendell x86_64 Intel(R) Xeon(R) CPU X5482 @ 3.20GHz Timestamp of tree: Mon, 22 Sep 2008 18:34:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2 -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/env /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/shutdown" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CPPFLAGS="-I/home/andrew/build/include" CXXFLAGS="-O2 -pipe -march=core2 -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo " LANG="en_GB.UTF-8" LINGUAS="en_GB" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/andrew/projects/gentoo/gnu_andrew_overlay /home/andrew/projects/gentoo/java-overlay /home/andrew/projects/gentoo/java-experimental /usr/portage/local/layman/kde-testing" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cups curl cvs dbus dga dirac djvu dri dts dv dvb dvd dvdr dvdread eds emacs emboss encode evo fam ffmpeg fftw firefox flac fontconfig fortran ftp gcj gdbm gif gnome gnutls gpm graphviz gstreamer gtk gtkhtml hal iconv idn ieee1394 imagemagick imap ipv6 isdnlog javascript jbig jpeg jpeg2k kde kerberos ladspa lame latex lcms ldap libass libcaca libnotify libsamplerate lzo mad mbox midi mikmod mmap mmx mng mp3 mpeg mudflap musepack musicbrainz nas ncurses nis nls nntp nptl nptlonly nsplugin ogg openexr opengl openmp oss pam pch pcre pdf perl png postgres pppd pulseaudio python qt3support qt4 quicktime readline reflection sasl schroedinger sdl session sndfile sox speex spell spl sse sse2 ssl startup-notification subversion svg taglib tcpd tga theora threads tiff truetype unicode usb vorbis wavpack wmf x264 xattr xcomposite xft xml xorg xosd xprint xscreensaver xulrunner xv xvid yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="radeonhd fglrx radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
gcj-dbtool also
why exactly is this a problem ? gij is still in the $PATH, just not /usr/bin/
As far as I see, it is not possible to switch between different gij version with gcc-config or any other tool.
of course there is ... same way as any other tool via gcc-config. use -E.
the point of hardcoding the list of wrappers is so that as you switch between versions of different functionality, the old wrappers get removed rather than left behind all stale like. so what i'm thinking is that gcc-config will simply generate wrappers based on what's available in gcc's binpath, and then save that list into the /etc/env.d/gcc/config-TARGET file. this way on the next run, gcc-config can easily recover the list of wrappers it needs to punt.
i've implemented this locally and will test it for a while before releasing
pushed with gcc-config-1.7 http://git.overlays.gentoo.org/gitweb/?p=proj/gcc-config.git;a=commitdiff;h=968585e75310f95dd50a861eace5086996876f4b