This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.1 installation
- From: "Gary Smith" <gary dot vsmith at virgin dot net>
- To: "Jeff Sturm" <jsturm at one-point dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Mon, 1 Jul 2002 22:30:39 -0700
- Subject: Re: gcc 3.1 installation
- References: <Pine.LNX.4.44.0206302107200.18158-100000@ops2.one-point.com>
- Reply-to: "Gary Smith" <gary dot vsmith at virgin dot net>
Thanks for your help Jeff,
I did not specify the --prefix variable. I did set the srcdir and objdir in
the configure file prior to running ./configure. srcdir=/usr/lib/gcc-3.1,
objdir=/usr/lib/gcc3.1-lib. This is all I configured away from the default.
The reason for doing this was a program called mplayer would not build cause
it did not like gcc2.96. It said i needed 2.95,3.x gcc compilers. Does 2.96
have problems? We had to do the same at the office when trying to compile
an app.
I will check /usr/local/bin/gcc, but what am I looking for?
How do I get the system to recognise it has another compiler to look for? I
am assuming since the gcc -v reports 2.96, this must driven by something,
not just the gcc script itself. It will either be looking up a file or a
system file for this. Or am completely off track here.
Thanks for your in advance.
Gary
----- Original Message -----
From: "Jeff Sturm" <jsturm@one-point.com>
To: "Gary Smith" <gary.vsmith@virgin.net>
Cc: <gcc@gcc.gnu.org>
Sent: Sunday, June 30, 2002 6:15 PM
Subject: Re: gcc 3.1 installation
> On Sun, 30 Jun 2002, Gary Smith wrote:
> > Is this installer meant to configure linux to use the new compilers?
>
> Definitely not. Replacing the system compiler (i.e. /usr/bin/gcc) isn't
> such a good idea no matter what OS you use.
>
> Did you specify any value for --prefix when you configured gcc? If so,
> check for <prefix>/bin/gcc, else /usr/local/bin/gcc.
>
> Jeff
>
>