I put: printenv CC echo $CC which cc
in the script and only got output for the which cmd as /opt/SUNWspro/bin/cc. I even reran the script with CC not set, just to make sure. Thanks! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Botcazou Sent: Tuesday, November 22, 2005 12:42 PM To: [EMAIL PROTECTED] Cc: gcc@gcc.gnu.org Subject: Re: compiling gcc-4.0.2 on solaris 9 > Ok, here is my script (note I am in a directory with only the > script below when I execute the script below): > > CC=cc /export/home/src/net/gnu/gcc-4.0.2/configure > gmake bootstrap>make_err 2>&1 > > I get the exact same errors (at least as far as I see). The target libiberty is not supposed to be built with the bootstrap compiler. Please verify that CC is not set in your environment. -- Eric Botcazou