This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building gcc 3.2.1 on Solaris 8/sparc with native cc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]