This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building gcc 3.2.1 on Solaris 8/sparc with native cc
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Hubert Feyrer <hubert dot feyrer at informatik dot fh-regensburg dot de>
- Cc: gcc at gnu dot org
- Date: 22 Jan 2003 15:55:57 -0200
- Subject: Re: Building gcc 3.2.1 on Solaris 8/sparc with native cc
- Organization: GCC Team, Red Hat
- References: <Pine.GSO.4.50.0301221656320.29672-100000@rfhs8012.fh-regensburg.de>
On Jan 22, 2003, Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de> wrote:
> How do I tell gcc-3.2.1 to not use the gcc in my $PATH, but use the cc I
> have installed?
env CC=cc /path/to/configure ...
Per the installatino instructions, do not configure in the source
tree.
> I want the configure script to use the cc, not gcc. I have tried setting
> the CC environemnt variable to /soft/SUNWspro/bin/cc, but that breaks
> because the configure script passes "-O2" somewhere, which that compiler
> doesn't understand.
Probably this is cached in config.cache. Start out with a clean
source tree, create a separate build tree and it should work.
Please address further questions about installing gcc to gcc-help.
This mailing list is for discussion on the development of gcc.
Thanks,
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer