gcc not working

Alexandre Oliva aoliva@redhat.com
Mon Jul 3 13:45:00 GMT 2000


On Jul  3, 2000, Freddy Esqueda <fesqueda@cybermedia.com.ve> wrote:

> I downloaded the compiled version of gcc-2.8.1 for Sparc Solaris 7, I
> used pkgadd -d to install it in the /usr/local directory.

> When I try to compile any other software I get this error:

> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.

> Why is this happenning?

Probably because the binary you got wasn't created to be installed in
/usr/local.  Check the installation instructions at the site from
which you downloaded the pre-compiled version.  Setting
GCC_EXEC_PREFIX in your environment may help work around this problem.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-help mailing list