* problems installing gcc, no workin cc
@ 2001-07-26 9:15 Dean Harper
2001-07-26 16:29 ` Alexandre Oliva
0 siblings, 1 reply; 2+ messages in thread
From: Dean Harper @ 2001-07-26 9:15 UTC (permalink / raw)
To: gcc-help
Hello,
I'm kinda new to installing software in this fashion, (configure, make,
test, install) I'm trying to install GCC compiler and I get the
following error;
Configuring for a sparc-sun-solaris2.6 host.
Created "Makefile" in /export/home/dean/gcc-2.95.2 using "mh-frag"
*** The command '/usr/bin/cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
So I downloaded (what I thought was the binaries to GCC) and un-tarred
them into my /usr directory and created a CC variable my profile set it
to /usr/bin/gcc (the gcc I just untarred) and now when I run the
configure for GCC I get this error;
Configuring for a sparc-sun-solaris2.6 host.
Created "Makefile" in /export/home/dean/gcc-2.95.2 using "mh-frag"
cpp: Internal compiler error: program cpp got fatal signal 9
*** The command '/usr/bin/gcc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Michel Duchame replied to me earlier and said I could download the
binaries from www.sunfreeware.com, I've download all files regarding GCC
and all I need are some instructions on how to install it.
Any and all help will be appreciated, I'm really at a standstill here.
regards
Dean Harper
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: problems installing gcc, no workin cc
2001-07-26 9:15 problems installing gcc, no workin cc Dean Harper
@ 2001-07-26 16:29 ` Alexandre Oliva
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2001-07-26 16:29 UTC (permalink / raw)
To: Dean Harper; +Cc: gcc-help
On Jul 26, 2001, Dean Harper <dean.harper@rchagen.com> wrote:
> cpp: Internal compiler error: program cpp got fatal signal 9
This is a symptom of your not having installed the binaries in the
directory in which they're supposed to be installed. gcc is expecting
to run the internal C pre-processor, but it ends up finding the
external cpp driver, that again tries to run the internal preprocessor
but ends up finding itself.
Try setting GCC_EXEC_PREFIX=/usr, if that's where you installed it.
> Michel Duchame replied to me earlier and said I could download the
> binaries from www.sunfreeware.com, I've download all files regarding GCC
> and all I need are some instructions on how to install it.
You should be able to find such instructions there, where you found
the binaries, not here.
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-26 16:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-26 9:15 problems installing gcc, no workin cc Dean Harper
2001-07-26 16:29 ` Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).