I just tried to build GRUB, after hearing about it at Friday's meeting.

It gave me an error message that prompted me to try to update my
gcc given that I'm still running the dodgey one that came with RH7.0
"out of the box".

So, I went to the site the GRUB readme mentioned and downloaded
an SRPM, installed it with "rpm -i", unzipped and untar-ed that and
did a "make".

It seems to have built a g++, but there doesn't seem to be a gcc
anywhere.

I'm tempted to just do a "make install" and see what happens, but
I'd hate to end up with a non-working gcc, since it would be a right
pain to get back to a working state.

Hence, my questions are:

1. Have I taken the correct approach?

2. If not, what is the correct approach?  For example, is there somewhere
     I can find a single .rpm file to install a good gcc?

3. Can I just edit the Makefile at the top of the gcc source tree
     and change the "prefix" to get it installed in another directory, so
     as not to clobber my current one?

Thanks in advance.


-------------------
Harry Ohlsen


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to