Results 1 to 4 of 4

Thread: system gcc vs. gcc-4.3.1 in OpenSUSE 11.0

  1. #1

    Default system gcc vs. gcc-4.3.1 in OpenSUSE 11.0

    Hello to everybody, this is my first message on the forum, so, please don't get angry if the question is too stupid or I am out of topic. Thanks.
    Can anybody explain to me the difference between the gcc "GNU system compiler" and the gcc-4.3.1 "GNU compiler"? just for information, I am working with an asus notebook having OpenSUSE 11.0 64 bit. I just installed the gcc-4.3.1 from yast (and I was surprised to realize that it was not already installed!), including all languages (c, c++, ada etc.), only for the 64 bit version (I hope having done so...).

    Thanks a lot.

    Mig-37

  2. #2
    ab@novell.com NNTP User

    Default Re: system gcc vs. gcc-4.3.1 in OpenSUSE 11.0

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    'gcc' is a compiler.... gcc-4.3.1 is the compiler version 4.3.1. Unless
    you believe these are, for some reason, different, they are probably the
    same thing. Post the output of the following:

    rpm -qa | grep -i gcc

    Why not installed by default? Most people aren't programmers or using
    applications that require gcc. Many do, but it takes a fair bit of
    space so it's not there by default.

    Good luck.





    mig-37 wrote:
    > Hello to everybody, this is my first message on the forum, so, please
    > don't get angry if the question is too stupid or I am out of topic.
    > Thanks.
    > Can anybody explain to me the difference between the gcc "GNU system
    > compiler" and the gcc-4.3.1 "GNU compiler"? just for information, I am
    > working with an asus notebook having OpenSUSE 11.0 64 bit. I just
    > installed the gcc-4.3.1 from yast (and I was surprised to realize that
    > it was not already installed!), including all languages (c, c++, ada
    > etc.), only for the 64 bit version (I hope having done so...).
    >
    > Thanks a lot.
    >
    > Mig-37
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFI0CQ+3s42bA80+9kRAo+3AJ9eugB1dFcsr770b/fU9cm8QA3zTQCeKm9n
    POgLzKnPCM/HbdOuX/mDiGs=
    =/e/z
    -----END PGP SIGNATURE-----

  3. #3

    Default Re: system gcc vs. gcc-4.3.1 in OpenSUSE 11.0

    This is the output:

    gcc43-fortran-32bit-4.3.1_20080507-6.1
    libgcc43-32bit-4.3.1_20080507-6.1
    gcc43-objc-32bit-4.3.1_20080507-6.1
    gcc43-32bit-4.3.1_20080507-6.1
    gcc43-gij-32bit-4.3.1_20080507-9.1
    libgcc43-4.3.1_20080507-6.1
    gcc43-testresults-4.3.1_20080507-9.1
    gcc43-gij-4.3.1_20080507-9.1
    gcc43-java-4.3.1_20080507-9.1
    gcc43-c++-4.3.1_20080507-6.1
    gcc43-obj-c++-4.3.1_20080507-6.1
    gcc43-locale-4.3.1_20080507-6.1
    gcc43-objc-4.3.1_20080507-6.1
    gcc43-fortran-4.3.1_20080507-6.1
    gcc43-info-4.3.1_20080507-6.1
    gcc43-4.3.1_20080507-6.1
    gcc43-ada-4.3.1_20080507-6.1

    My concern was about the fact that in yast there was (and still there is) the possibility to install both the "gcc" and the "gcc-4.3.1" versions of the compilers, but indeed I cannot figure out if they are the same, as you suggest, or not. Probably you are right, as the size of the files belonging to the "gcc" series is very small: is it possible that they are simply a "mirror" of the "gcc-4.3.1" ones?

    Thanks a lot!

  4. #4
    ab@novell.com NNTP User

    Default Re: system gcc vs. gcc-4.3.1 in OpenSUSE 11.0

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Well I can't tell exactly why you'd see multiples in there unless one
    was 32-bit or one was an older version, but typically the distro ships
    with one and upgrades it as needed. For example all of these are 4.3.1
    versions. What is interesting with these is that the package names are
    'gcc43' where in the past I've always just had 'gcc' (including on my
    SLE boxes currently). Perhaps this is meant to be a preview of the
    newer version of gcc while giving the option to have the older version
    also, though not necessarily at the same time. If 'gcc' works as a
    command perhaps see which package it comes from with:

    rpm -qf `which gcc`

    Good luck.





    mig-37 wrote:
    > This is the output:
    >
    > gcc43-fortran-32bit-4.3.1_20080507-6.1
    > libgcc43-32bit-4.3.1_20080507-6.1
    > gcc43-objc-32bit-4.3.1_20080507-6.1
    > gcc43-32bit-4.3.1_20080507-6.1
    > gcc43-gij-32bit-4.3.1_20080507-9.1
    > libgcc43-4.3.1_20080507-6.1
    > gcc43-testresults-4.3.1_20080507-9.1
    > gcc43-gij-4.3.1_20080507-9.1
    > gcc43-java-4.3.1_20080507-9.1
    > gcc43-c++-4.3.1_20080507-6.1
    > gcc43-obj-c++-4.3.1_20080507-6.1
    > gcc43-locale-4.3.1_20080507-6.1
    > gcc43-objc-4.3.1_20080507-6.1
    > gcc43-fortran-4.3.1_20080507-6.1
    > gcc43-info-4.3.1_20080507-6.1
    > gcc43-4.3.1_20080507-6.1
    > gcc43-ada-4.3.1_20080507-6.1
    >
    > My concern was about the fact that in yast there was (and still there
    > is) the possibility to install both the "gcc" and the "gcc-4.3.1"
    > versions of the compilers, but indeed I cannot figure out if they are
    > the same, as you suggest, or not. Probably you are right, as the size of
    > the files belonging to the "gcc" series is very small: is it possible
    > that they are simply a "mirror" of the "gcc-4.3.1" ones?
    >
    > Thanks a lot!
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFI0W4F3s42bA80+9kRAngRAJ9+jC1raXFq8cfdicYgML8ID6sSkACdGcs3
    l3zOnAOSSdIX1Gz3OSuWNI0=
    =TbJM
    -----END PGP SIGNATURE-----

Posting Permissions

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