Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Which versions of g++ and gcc are better?

  1. #1
    Junior Member
    Join Date
    Jan 2002
    Posts
    66

    Which versions of g++ and gcc are better?

    Right now I'm using the debian default which is version 2.95, but I was wondering if there are any advantages of upgrading to version 3.2.

    Mike

  2. #2

    Re:Which versions of g++ and gcc are better?

    hello,
    do ya do alot of compiling? if so then maybe, if not then no.

  3. #3
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re:Which versions of g++ and gcc are better?

    From what I know is that programs compiled with 3.2 run somewhat faster, however there are some compatibility issues. Some older code will not compile without hacking the source code.

  4. #4

    Re:Which versions of g++ and gcc are better?

    [quote author=cloverm link=board=2;threadid=5124;start=0#50746 date=1033059850]
    From what I know is that programs compiled with 3.2 run somewhat faster, however there are some compatibility issues. Some older code will not compile without hacking the source code.
    [/quote]
    And AFAIK all the programs has to been compiled with 3.2 because some binary incompatibility with older versions of gcc

  5. #5
    Guest

    Re:Which versions of g++ and gcc are better?

    well i have been using gcc 3.2 for a few weeks now and have no complaints all of the packages I made for Arch Linux compiled just fine with gcc 3.2. It does not always compile as fast as gcc 2.95.x but it does compile cleaner code. Some things, such as mozilla, have had improvements others are just the same.

  6. #6
    Junior Member
    Join Date
    Jan 2002
    Posts
    66

    Re:Which versions of g++ and gcc are better?

    Thanks for the replies. I think I'll stick with the old version for now, since I only compile packages when I can't find a .deb, which isn't very often.

    Mike

  7. #7

    Re:Which versions of g++ and gcc are better?

    [quote author=Sarah31 link=board=2;threadid=5124;start=0#50762 date=1033076978]
    well i have been using gcc 3.2 for a few weeks now and have no complaints all of the packages I made for Arch Linux compiled just fine with gcc 3.2. It does not always compile as fast as gcc 2.95.x but it does compile cleaner code. Some things, such as mozilla, have had improvements others are just the same.
    [/quote]

    Would gcc 3.2 yield a more optimized 2.4.19 kernel than 2.95? (Assuming that I'm building it for a specific processor >Pentium1.)

  8. #8
    Guest

    Re:Which versions of g++ and gcc are better?

    one would think so. mind you using gcc 3.2 on debian would seem a little impractical unless you recompile all of your packages. this would give you the most optimized system.

  9. #9

    Re:Which versions of g++ and gcc are better?

    All i know is drake 9 is gcc 3.2 based and its alot faster than 8.2 was with 2.96.

  10. #10
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Which versions of g++ and gcc are better?

    From what I understand, gcc3.1 had bakcward compatibility issues so 3.2 was the fix. Gcc 3 was a major code optimization revamp. Essentailly it does better object prelinking and blah blah blah. In the user's eys it is faster code merely, but from what I understand, cleaner binaries as well.

    Also, from what I feel from usage -- the 2.96 gcc is a little ... weird when it comes down to it. I got alot of oddities when using compiling code on this system, whereas the null beta doesnt ahve these same issues. Odd app crashing and such are what I am talking about, crazy mem usage problems.

    Then again it could just be me.

Similar Threads

  1. [Solved!] Linux versions
    By boshra in forum Redhat / Fedora
    Replies: 1
    Last Post: 05-05-2009, 10:18 AM
  2. Different LILO versions
    By snct in forum Linux - General Topics
    Replies: 5
    Last Post: 09-24-2004, 03:54 PM
  3. New distro versions
    By cloverm in forum Linux - General Topics
    Replies: 17
    Last Post: 11-07-2002, 01:01 AM
  4. So what are the different versions of linux?
    By iansl in forum Linux - General Topics
    Replies: 1
    Last Post: 05-14-2002, 04:09 AM
  5. Does anyone like the new versions of the imac?
    By noblestknight in forum Linux Distros
    Replies: 18
    Last Post: 02-27-2002, 03:07 AM

Bookmarks

Posting Permissions

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