My development system performs an "emerge sync; emerge -u world" nightly - mostly to fetch the latest source files down to my shared DISTFILES area. This morning, I noticed that nothing would compile: "cc" wasn't found. A little digging, and it ended up being an env-update problem with the 05GCC file no longer specifing "export CC=gcc". This breaks emerge rather badly <grin>.
Ah, the /etc/env.d/05GCC missing "CC=gcc" may not be the fix. Appears /usr/bin/cc is a symbolic link to /usr/bin/gcc, and that doesn't exist. I "ln -s /usr/i686-pc-linux-gnu/gcc-bin/3.2/gcc /usr/bin/gcc" and things are working much better now... Kevin C.
which specific ebuild of gcc? (qpkg -I -v -nc gcc) if it is -r5 then run: gcc-config i686-pc-linux-gnu-3.2
dl1 app-admin # qpkg -I -v -nc gcc sys-devel/gcc-3.2.1-r6 sys-devel/gcc-config-1.2.2 The symbolic link appears to have resolved the issue, but I suspect something in the emerge -u world process broke it. Thanks, Kevin C.
Update gcc-config to 1.2.4, and run what seemant said: # gcc-config i686-pc-linux-gnu-3.2.1
Confirmed. This appears to have resolved the problem. Thanks! Kevin C.