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: gcc 3.1 installation


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
>
>


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