Find the answer to your Linux question:
Results 1 to 5 of 5
i want to upgrade gcc and i got the source code. What should i do to upgrade it cleanly? Should i uninstall previous gcc verison? and cleanly how? i dont ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Mar 2003
    Location
    Istanbul/Türkiye
    Posts
    246

    gcc upgrade


    i want to upgrade gcc and i got the source code.
    What should i do to upgrade it cleanly?
    Should i uninstall previous gcc verison? and cleanly how?
    i dont want to use rpm or src.rpm

    i use RedHat 7.3

    thx
    Just a Newbie....Looking 4 Info....

  2. #2
    Linux Newbie
    Join Date
    Mar 2003
    Location
    Istanbul/Türkiye
    Posts
    246
    i dont like repeating my questions but anyone knows the answer?
    Just a Newbie....Looking 4 Info....

  3. #3
    Just Joined!
    Join Date
    Jun 2003
    Location
    Helsinki, Finland
    Posts
    78
    If you uninstall gcc, how will you compile gcc? :-S

    You can cause all sorts of problems, especially if you're upgrading from 2.X to 3.X as they aren't binary compatible. Be prepared for lots of breakages.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Sep 2003
    Posts
    27
    It is no problem to have a new GCC while holding the old one.You can install it with different prefix like /usr/local/gcc-3.2.After that ,all you have to do is to make some symbol links and add sth to your $PATH.

    You should read the Install guide shipes with GCC tarball carefully .

  6. #5
    Linux Newbie
    Join Date
    Mar 2003
    Location
    Istanbul/Türkiye
    Posts
    246
    Hmm ok. I ll try all of them. Thx.
    Just a Newbie....Looking 4 Info....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •