* RE: Problem installing gcc-3.3 on a RedHat 9 distribution
@ 2004-01-21 16:43 Assinovsky, Lev
0 siblings, 0 replies; 3+ messages in thread
From: Assinovsky, Lev @ 2004-01-21 16:43 UTC (permalink / raw)
To: herve.lebail, gcc-help
Try
export CC=gcc
right before ./configure.
----
Lev Assinovsky
Aelita Software Corporation
> -----Original Message-----
> From: herve.lebail@free.fr [mailto:herve.lebail@free.fr]
> Sent: Wednesday, January 21, 2004 6:47 PM
> To: gcc-help@gcc.gnu.org
> Subject: Problem installing gcc-3.3 on a RedHat 9 distribution
>
>
>
> Problem installing gcc-3.3 on a RedHat 9 distribution
>
> PC configuration : intel PENTIUM IV - GeForce nvidia 4
>
> 1) Just after the installation on the RedHat 9 Linux distribution
> I need the g77 which is not installed by default on the system
>
> 2) So I started by downloading the gcc-3.3 package from the homepage.
>
> 3) I put the package on my hard drive in the directory
> /home/hll/gccextract
>
> 4) I read the README file, and try to configure
>
> 5) I choose (and create) /home/hll/gccrun for the
> installation directory
>
> 6) 'cd /home/hll/gccrun'
>
> 7) run the configure script : 'home/hll/gccextract/gcc-3.3/configure'
>
> Then I get the following error message :
>
> Configuring for a i686-pc-linux-gnu host.
> Created "Makefile" in /home/hll/gccrun using "mt-frag"
> /home/hll/gccextract/gcc-3.3/configure: line 8: cc: command not found
> **** The command 'cc -o conftest -g conftest.c' failed.
> **** You must set the environment variable CC to a working compiler.
>
> So I've got a regular Makefile I think but I'm, right at the
> moment, unable to
> find a compiler.
> By default the gcc compiler version that comes with RedHat 9
> is gcc296 (located
> in /usr/bin).
>
> Can someone help me to configure properly gcc-3.3
>
> Thanks in advance
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem installing gcc-3.3 on a RedHat 9 distribution
2004-01-21 15:46 herve.lebail
@ 2004-01-21 17:02 ` Claudio Bley
0 siblings, 0 replies; 3+ messages in thread
From: Claudio Bley @ 2004-01-21 17:02 UTC (permalink / raw)
To: gcc-help
On Wed, Jan 21, 2004 at 04:46:40PM +0100, herve.lebail@free.fr wrote:
>
> Problem installing gcc-3.3 on a RedHat 9 distribution
>
> PC configuration : intel PENTIUM IV - GeForce nvidia 4
>
> 1) Just after the installation on the RedHat 9 Linux distribution
> I need the g77 which is not installed by default on the system
Then just install it from your distribution CDs or download it from
http://ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/ or
one of the Redhat mirror sites.
> Configuring for a i686-pc-linux-gnu host.
> Created "Makefile" in /home/hll/gccrun using "mt-frag"
> /home/hll/gccextract/gcc-3.3/configure: line 8: cc: command not found
> **** The command 'cc -o conftest -g conftest.c' failed.
> **** You must set the environment variable CC to a working compiler.
> So I've got a regular Makefile I think but I'm, right at the moment, unable to
> find a compiler.
> By default the gcc compiler version that comes with RedHat 9 is gcc296 (located
> in /usr/bin).
That's wrong. GCC 2.96 is installed by the compat-gcc package -- for
compatibility reasons for older programs.
The default compiler on Redhat 9 is GCC 3.2.2.
> Can someone help me to configure properly gcc-3.3
However, you may use the already installed gcc296 to bootstrap GCC
3.3, just set the environment variable CC to this compiler as you were
already told. If you're using Bash run
export CC=/usr/bin/gcc296
HTH
--
Claudio Bley ASCII ribbon campaign (")
Debian GNU/Linux user - against HTML email X
http://www.cs.uni-magdeburg.de/~bley/ & vCards / \
^ permalink raw reply [flat|nested] 3+ messages in thread
* Problem installing gcc-3.3 on a RedHat 9 distribution
@ 2004-01-21 15:46 herve.lebail
2004-01-21 17:02 ` Claudio Bley
0 siblings, 1 reply; 3+ messages in thread
From: herve.lebail @ 2004-01-21 15:46 UTC (permalink / raw)
To: gcc-help
Problem installing gcc-3.3 on a RedHat 9 distribution
PC configuration : intel PENTIUM IV - GeForce nvidia 4
1) Just after the installation on the RedHat 9 Linux distribution
I need the g77 which is not installed by default on the system
2) So I started by downloading the gcc-3.3 package from the homepage.
3) I put the package on my hard drive in the directory
/home/hll/gccextract
4) I read the README file, and try to configure
5) I choose (and create) /home/hll/gccrun for the installation directory
6) 'cd /home/hll/gccrun'
7) run the configure script : 'home/hll/gccextract/gcc-3.3/configure'
Then I get the following error message :
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/hll/gccrun using "mt-frag"
/home/hll/gccextract/gcc-3.3/configure: line 8: cc: command not found
**** The command 'cc -o conftest -g conftest.c' failed.
**** You must set the environment variable CC to a working compiler.
So I've got a regular Makefile I think but I'm, right at the moment, unable to
find a compiler.
By default the gcc compiler version that comes with RedHat 9 is gcc296 (located
in /usr/bin).
Can someone help me to configure properly gcc-3.3
Thanks in advance
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-21 17:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-21 16:43 Problem installing gcc-3.3 on a RedHat 9 distribution Assinovsky, Lev
-- strict thread matches above, loose matches on Subject: below --
2004-01-21 15:46 herve.lebail
2004-01-21 17:02 ` Claudio Bley
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).