Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc upgrade



On Wed, 31 Jan 2001, Viktor Pavlenko wrote:

> >>>>> On Wed, 31 Jan 2001 09:49:08 +0800, Jake Morrison <jacob.morrison@example.com> said:
> 
>     JM> Uvator,
>     JM> You might want to keep egcs 1.1.2 around for compiling the kernel.
>     JM> As I understand it, egcs 1.1.1 is the "official" compiler for
>     JM> the kernel, though 2.95.2 is supposed to work for most people.
> 
> I removed it already (5 seconds after I got Scott's reply:) but I
> suppose I can always install it again if something goes wrong.

redhat installs two compilers, the kernel one is "kgcc" and the "gcc" is
the normal one.  I did find at least one program that wouldn't build with
"gcc", but would be with "kgcc".  and it wasn't the kernel... hrm.

But, now you can rebuild both of your compilers yourself and have the
satisfaction of doing that :)

> 
> Thanks.
> Viktor
> 
> 
>     JM> -Jake
> 
>     JM> "Scott M. Stone" wrote:
>     >> 
>     >> On Tue, 30 Jan 2001, Viktor Pavlenko wrote:
>     >> 
>     >> > Hi all,
>     >> >
>     >> > just compiled and installed gcc-2.95.2, under /usr/local. It seems to
>     >> > work.
>     >> >
>     >> > Now, I have egcs-1.1.2-30 and egcs-c++-1.1.2-30 rpm packages as well
>     >> > as dynamic C++ libraries (which don't belong to any package) already
>     >> > installed. It's a RH 6.2 system.
>     >> >
>     >> > I wonder if I would break anything now by unistalling the two egcs
>     >> > packages? Is it enough to have /usr/local/bin in the PATH and
>     >> > /usr/local/lib in ld path to switch compilers?
>     >> >
>     >> > I know that the best way to find out is to try, but here I feel that
>     >> > to ask is better :)
>     >> 
>     >> theoretically the RPMs shouldn't own anything in /usr/local - check with
>     >> "rpm -ql egcs | grep local".  As long as they don't, you can safely remove
>     >> them without affecting the compiler that you installed under /usr/local.
> 
> -----------------------------------------------------------------------
> Next Nomikai Meeting:    Fri, February 16 19:30- Tengu Tokyo Eki Mae
> Next Technical Meeting:  March (date TBA)
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan
> 
> 
> 

--------------------------
Scott M. Stone <sstone@example.com>
Cisco Certified Network Associate, Sun Solaris Certified Systems Administrator
UNIX Systems and Network Engineer
Taos - The SysAdmin Company 


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links