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

Thread: GCC 4.4.1 install in openSUSE 11.0

  1. #1
    Join Date
    Jul 2008
    Location
    India
    Posts
    162

    Default GCC 4.4.1 install in openSUSE 11.0

    Hi,
    I am using 11.0. The gcc version i have is 4.3.1 which comes with the distribution. Here Index of /repositories/devel:/gcc/openSUSE_11.0/i586 i find gcc-4.4.1 which i wish to install. Are the pkgs in /repositories/devel stable & safe for installation ?

  2. #2
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Default Re: GCC 4.4.1 install in openSUSE 11.0

    Err... did you take a look at the name of the repostory name? Noticed "devel"?
    Nope, they are NOT stable. And they might not be safe either. Try them - but as they are in development stage, dont expect too much support if anything crashes or doesnt work.
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

  3. #3

    Default Re: GCC 4.4.1 install in openSUSE 11.0

    Quote Originally Posted by TheMask View Post
    Err... did you take a look at the name of the repostory name? Noticed "devel"?
    Devel as in "packages connected to software development".

    Quote Originally Posted by TheMask View Post
    Nope, they are NOT stable.
    BS.

    The question however is, why one wants to install another gcc than the one the running OS was compiled with.

    Sometimes binaries compiled with another compiler than the ones used for the OS don't run properly (maybe they do, may they don't).

  4. #4
    Join Date
    Jul 2008
    Location
    India
    Posts
    162

    Default Re: GCC 4.4.1 install in openSUSE 11.0

    Hi,

    I did think that gcc 4.4.1 in /repositories/devel would be stable since some pkgs come as pkg.rpm and pkg-devel.rpm and sometimes one does need the devel ones. Just wanted to cross-check. The ones in factory are what i think i would not use.

    I did not know that it might be unsafe to use a gcc version that the current OS is not compiled with. Then why do they provide version 4.4.1 that replaces the previous version? I mean that folks could compile gcc 4.4.1 such that it gets installed elsewhere and the interested user could invoke the necessary compiler as and when required. But i suppose that they can't satisfy everyone's requirement.

    Actually i have no intention of upgrading my OS (for about a year even after the support ends !!). So i thought that it is wiser to have the latest pkgs instead.

    Thanks.

  5. #5

    Default Re: GCC 4.4.1 install in openSUSE 11.0

    Quote Originally Posted by samrat_rao View Post
    I did not know that it might be unsafe to use a gcc version that the current OS is not compiled with.
    Well, the real question is, why did you think you need to upgrade gcc?

    Quote Originally Posted by samrat_rao View Post
    Then why do they provide version 4.4.1 that replaces the previous version?
    A) It does not if done correctly.

    B) For people who really need gcc 4.4.1

    There are many newer packages, why not provide them?

    After all, they are in non-official repositories and for users, who know what they are doing, they are a big benefit.

    Quote Originally Posted by samrat_rao View Post
    I mean that folks could compile gcc 4.4.1 such that it gets installed elsewhere and the interested user could invoke the necessary compiler as and when required.
    That is actually the case, so I don't see your point.

    If you really _need_ gcc 4.4.1 for a good reason, then use it, if you don't need it, then why do you want to install it?

    Quote Originally Posted by samrat_rao View Post
    But i suppose that they can't satisfy everyone's requirement
    Maybe, but in this case it looks like you don't even know why you wanted to upgrade.

    Quote Originally Posted by samrat_rao View Post
    Actually i have no intention of upgrading my OS (for about a year even after the support ends !!). So i thought that it is wiser to have the latest pkgs instead.
    No, it is not wise to not upgrade the OS_after_ the support ends, keeping it until the "End of Life" and then upgrading however is wise, if you don't need newer components.

    But again, same goes for core components like kernel/glibc/compiler/etc.

    Why upgrade them, if the the available, officially supported versions already work?

    A blunt, little "word of wisdom" says:

    "If it's not broken, don't fix it."

  6. #6
    Join Date
    Jul 2008
    Location
    India
    Posts
    162

    Default Re: GCC 4.4.1 install in openSUSE 11.0

    Hi Akoellh,

    It does not if done correctly. That is actually the case, so I don't see your point.
    I mistakenly thought that once a pkg is compiled is will always go to the designated location. Maybe if i download the src rpms i could change the install dirs ?

    Maybe, but in this case it looks like you don't even know why you wanted to upgrade.
    You are quite right about this. The only reason i can provide is what i said earlier:
    Actually i have no intention of upgrading my OS (for about a year even after the support ends !!). So i thought that it is wiser to have the latest pkgs instead.
    By this i actually meant that i would not go for a newer OS like 11.3 (since 11.0 would stop being supported) for about one more year since i am quite happy with what i have at present and moreover it would take me more that a couple of weeks to set up my new system (limited bandwidth for downloading the different apps and i am kinda slow)

    But i think that i get your point about not needing to upgrade my gcc version.

    Thanks.

  7. #7

    Default Re: GCC 4.4.1 install in openSUSE 11.0

    Quote Originally Posted by samrat_rao View Post
    I mistakenly thought that once a pkg is compiled is will always go to the designated location.
    It does.

    Quote Originally Posted by samrat_rao View Post
    Maybe if i download the src rpms i could change the install dirs ?
    Why?

    I know I am playing mean here (for some reason, I might add).

    There is no need in changing src.rpms, the package "gcc44" will _not_ overwrite the package "gcc43", it is possible to install two (or even more) versions of gcc in parallel and choose one of them according to your needs, if you really know, what you are doing and have a good reason to do so.

  8. #8

    Default Re: GCC 4.4.1 install in openSUSE 11.0

    Just to give an example here:

    Code:
    rpm -ql gcc43
    
    /usr/bin/gcc-4.3
    /usr/bin/gcov-4.3
    /usr/lib64/gcc
    /usr/lib64/gcc/x86_64-suse-linux
    /usr/lib64/gcc/x86_64-suse-linux/4.3
    /usr/lib64/gcc/x86_64-suse-linux/4.3/32
    /usr/lib64/gcc/x86_64-suse-linux/4.3/collect2
    /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o
    /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbeginS.o
    /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbeginT.o
    /usr/lib64/gcc/x86_64-suse-linux/4.3/crtend.o
    /usr/lib64/gcc/x86_64-suse-linux/4.3/crtendS.o
    /usr/lib64/gcc/x86_64-suse-linux/4.3/crtfastmath.o
    /usr/lib64/gcc/x86_64-suse-linux/4.3/crtprec32.o
    /usr/lib64/gcc/x86_64-suse-linux/4.3/crtprec64.o
    /usr/lib64/gcc/x86_64-suse-linux/4.3/crtprec80.o
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/README
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/syslimits.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/ammintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/bmmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/emmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/float.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/iso646.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/mm3dnow.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/mm_malloc.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/mmintrin-common.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/mmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/nmmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/omp.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/pmmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/smmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/stdarg.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/stdbool.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/stdfix.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/tmmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/uchar.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/unwind.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/varargs.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/wmmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/include/xmmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.3/libgcc.a
    /usr/lib64/gcc/x86_64-suse-linux/4.3/libgcc_eh.a
    /usr/lib64/gcc/x86_64-suse-linux/4.3/libgcc_s.so
    /usr/lib64/gcc/x86_64-suse-linux/4.3/libgcov.a
    /usr/lib64/gcc/x86_64-suse-linux/4.3/libgomp.a
    /usr/lib64/gcc/x86_64-suse-linux/4.3/libgomp.so
    /usr/lib64/gcc/x86_64-suse-linux/4.3/libgomp.spec
    /usr/share/man/man1/gcc-4.3.1.gz
    /usr/share/man/man1/gcov-4.3.1.gz
    and

    Code:
    rpm -qlp /daten/osc/osbuild-packagecache/openSUSE\:Factory/standard/x86_64/gcc44-4.4.1_20090817-1.19.x86_64.rpm
    /usr/bin/gcc-4.4
    /usr/bin/gcov-4.4
    /usr/lib64/gcc
    /usr/lib64/gcc/x86_64-suse-linux
    /usr/lib64/gcc/x86_64-suse-linux/4.4
    /usr/lib64/gcc/x86_64-suse-linux/4.4/32
    /usr/lib64/gcc/x86_64-suse-linux/4.4/collect2
    /usr/lib64/gcc/x86_64-suse-linux/4.4/crtbegin.o
    /usr/lib64/gcc/x86_64-suse-linux/4.4/crtbeginS.o
    /usr/lib64/gcc/x86_64-suse-linux/4.4/crtbeginT.o
    /usr/lib64/gcc/x86_64-suse-linux/4.4/crtend.o
    /usr/lib64/gcc/x86_64-suse-linux/4.4/crtendS.o
    /usr/lib64/gcc/x86_64-suse-linux/4.4/crtfastmath.o
    /usr/lib64/gcc/x86_64-suse-linux/4.4/crtprec32.o
    /usr/lib64/gcc/x86_64-suse-linux/4.4/crtprec64.o
    /usr/lib64/gcc/x86_64-suse-linux/4.4/crtprec80.o
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include-fixed
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include-fixed/README
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include-fixed/limits.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include-fixed/syslimits.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/ammintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/avxintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/bmmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/cpuid.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/cross-stdarg.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/emmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/float.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/immintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/iso646.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/mm3dnow.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/mm_malloc.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/mmintrin-common.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/mmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/nmmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/omp.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/pmmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/smmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/stdarg.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/stdbool.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/stddef.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/stdfix.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/tmmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/uchar.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/unwind.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/varargs.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/wmmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/x86intrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/include/xmmintrin.h
    /usr/lib64/gcc/x86_64-suse-linux/4.4/libgcc.a
    /usr/lib64/gcc/x86_64-suse-linux/4.4/libgcc_eh.a
    /usr/lib64/gcc/x86_64-suse-linux/4.4/libgcc_s.so
    /usr/lib64/gcc/x86_64-suse-linux/4.4/libgcov.a
    /usr/lib64/gcc/x86_64-suse-linux/4.4/libgomp.a
    /usr/lib64/gcc/x86_64-suse-linux/4.4/libgomp.so
    /usr/lib64/gcc/x86_64-suse-linux/4.4/libgomp.spec
    /usr/share/man/man1/gcc-4.4.1.gz
    /usr/share/man/man1/gcov-4.4.1.gz
    So no problem at all.

  9. #9
    Join Date
    Jul 2008
    Location
    India
    Posts
    162

    Default Re: GCC 4.4.1 install in openSUSE 11.0

    Hi Akoellh,

    You can see the 3rd line: /usr/lib64/gcc. I suppose this gcc is a symlink to the gcc executable. This is one problem that meets my eye. Not a big problem though...

  10. #10

    Default Re: GCC 4.4.1 install in openSUSE 11.0

    Quote Originally Posted by samrat_rao View Post
    You can see the 3rd line: /usr/lib64/gcc. I suppose this gcc is a symlink to the gcc executable.
    No, it's not, it's a directory.

Page 1 of 2 12 LastLast

Posting Permissions

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