From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Faylor To: gdb@sources.redhat.com Subject: Re: fyi: Can't configure sourceware on Solaris Date: Wed, 10 Oct 2001 22:59:00 -0000 Message-id: <20011011020020.B15266@redhat.com> References: <20011011003059.A8892@nevyn.them.org> X-SW-Source: 2001-10/msg00109.html On Thu, Oct 11, 2001 at 12:30:59AM -0400, Daniel Jacobowitz wrote: >I tried to build on Solaris today. I was mostly just aiming for >gdb/gdbserver, but I had most of a checkout; I deleted parts I knew I didn't >want, but one thing I left was expect. I get this error: > >checking for gcc... cc >checking whether the C compiler (cc -g -O2 ) works... no >configure: error: installation or configuration problem: C compiler cannot >create executables. > >The problem being, of course, that cc does not accept -O2. Also of interest >is that this error is unchanged by 'setenv CC gcc'. > >Who should I nag about this? configure.in? cgf