Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2007 07:11:59 -0500
From:      Jeffrey Goldberg <jeffrey@goldmark.org>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to reinstall gcc
Message-ID:  <F68C17AC-0569-45A8-A677-2B5A9CD53916@goldmark.org>
In-Reply-To: <et5rc1$6cl$1@sea.gmane.org>
References:  <719F520B-B7F4-4A01-B294-534393953AED@goldmark.org> <et5rc1$6cl$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 13, 2007, at 4:37 AM, Ivan Voras wrote:

> Jeffrey Goldberg wrote:
>
>> My question is without a functioning gcc, how do a install a  
>> functioning
>> gcc?
>
> It seems to me that the easiest way would be to do a binary
> install/upgrade from the distribution CD. You might even get away with
> copying the relevant files (don't know which... probably binaries and
> libraries) from the live CD part.

Thanks for that.

For some reason (sorry I didn't record the error messages) I got into  
some weird menu loop in sysinstall when I tried to upgrade.  So in  
the end, I just mounted the installation disk, found a directory

    RELEASE-6.2/base

in which there was an install.sh that looked like it would do the  
right thing.  It did the right thing.  The only problem was that I  
forgot to restore my old /etc/passwd before rebooting.  As a  
consequence I couldn't ssh in, and so I had to lug an old monitor  
across the room and clear desk space for it, so that I could log on  
to the console.

Cheers,

-j


-- 
Jeffrey Goldberg                        http://www.goldmark.org/jeff/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F68C17AC-0569-45A8-A677-2B5A9CD53916>