On Mon, 2002-07-15 at 14:55, Joshua Baker-LePain wrote: > On Mon, 15 Jul 2002 at 1:40pm, Rebecca Pakish wrote > > > checking for gcc... gcc > > checking whether the C compiler (gcc ) works... no > > configure: error: installation or configuration problem: C compiler cannot > > create executables. > > > > What is happening with this compiler...I used gcc-2.95.3-sol8-sparc-local, I > > thought this was a stable release, am I wrong? I'm pretty sure I've used it > > before... > > I believe you also need binutils, which includes (I think) bits like ld. > Maybe I could qualify that all a bit more... >
Just to add a little to Joshua's and Scott Sanders' recommendations, which are excellent. Rebecca, try looking at your config.log to see what error is created when configure attempted to test gcc. I have run into a situation with an incomplete Solaris 8 installation in which certain object files (used by both Sun's C compiler and gcc) where not installed. Consequently, compilation fails. These referenced object files reside in /usr/lib and /usr/ccs/lib with names values-Xa.o, values-Xc.o, values-Xs.o, values-Xt.o and values-xpg4.o.
