Results 1 to 7 of 7

Thread: using older GCC++ (3.3 and 4.3) with 11.2M5

  1. #1
    vlad_suse NNTP User

    Default using older GCC++ (3.3 and 4.3) with 11.2M5

    Hello
    for various reasons I need to use
    gcc 3.3 and 4.3
    (actually I need 3.4 -- but that's not provided)

    on my 64 bit 11.2M5 installation.

    I installed those packages with Yast but C++ does not work there

    gcc-4.3: error trying to exec 'cc1plus': execvp: No such file or directory

    the same error is for 3.3

    the preprocessors are installed, but they are named cpp-3.3 and cpp-3.4 (while gcc is looking for cc1plus)

    I cannot resolve this myself, and therefore askign for advise.


    ---
    Also, as side note, the /usr/lib64/libSM.so is reported as 'bad symbolic link' -- as it is not linked to anything.


    thank you in advance

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,337
    Blog Entries
    15

    Default Re: using older GCC++ (3.3 and 4.3) with 11.2M5

    Quote Originally Posted by vlad suse
    Hello
    for various reasons I need to use
    gcc 3.3 and 4.3
    (actually I need 3.4 -- but that's not provided)

    on my 64 bit 11.2M5 installation.

    I installed those packages with Yast but C++ does not work there

    gcc-4.3: error trying to exec 'cc1plus': execvp: No such file or
    directory

    the same error is for 3.3

    the preprocessors are installed, but they are named cpp-3.3 and cpp-3.4
    (while gcc is looking for cc1plus)

    I cannot resolve this myself, and therefore askign for advise.


    ---
    Also, as side note, the /usr/lib64/libSM.so is reported as 'bad
    symbolic link' -- as it is not linked to anything.


    thank you in advance

    Hi
    you need to export the flags for the system to use/override the default
    softlinks, for example;
    Code:
    export CC=/usr/bin/gcc-3.3
    export CXX=/usr/bin/g++-3.3
    export CCP=/usr/bin/cpp-3.3
    ../configure......

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.2 Milestone 6 (i586) Kernel 2.6.31-rc6-3-desktop
    up 0:17, 2 users, load average: 0.13, 0.14, 0.14
    ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME


  3. #3
    vlad_suse NNTP User

    Default Re: using older GCC++ (3.3 and 4.3) with 11.2M5

    Hi,
    I tried that but still get

    > $CXX Test.cpp
    gcc-3.3: installation problem, cannot exec `cc1plus': No such file
    or directory


    Since there is no g++-3.3 I had to modify the exports slightly

    export CC=/usr/bin/gcc-3.3
    export CXX=/usr/bin/gcc-3.3
    export CCP=/usr/bin/cpp-3.3




    But still it looksl like the compiler wants cc1plus

    may be there is a 'switchto' script or other configuration I could try?

    thank you

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,337
    Blog Entries
    15

    Default Re: using older GCC++ (3.3 and 4.3) with 11.2M5

    Quote Originally Posted by vlad suse
    Hi,
    I tried that but still get

    > $CXX Test.cpp

    gcc-3.3: installation problem, cannot exec `cc1plus': No such file
    or directory


    Since there is no g++-3.3 I had to modify the exports slightly

    export CC=/usr/bin/gcc-3.3
    export CXX=/usr/bin/gcc-3.3
    export CCP=/usr/bin/cpp-3.3




    But still it looksl like the compiler wants cc1plus

    may be there is a 'switchto' script or other configuration I could
    try?

    thank you
    Hi
    It may be lurking down in the /usr/lib..... area. If you run
    cnf cc1plus
    Or use YaST to browse the gcc33 file list to see where it is.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 5 days 4:06, 3 users, load average: 0.00, 0.04, 0.09
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18


  5. #5
    vlad_suse NNTP User

    Default Re: using older GCC++ (3.3 and 4.3) with 11.2M5

    Hi, by itself gcc-3.3 does not install the CPP processor (or at least I do not see it)
    -----

    gcc33-3.3.3-14.14

    /lib64/32
    /usr/bin/gcc-3.3
    /usr/bin/gcov-3.3
    /usr/lib64/32
    /usr/lib64/gcc-lib
    /usr/lib64/gcc-lib/x86_64-suse-linux
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/32
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/collect2
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/crtbegin.o
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/crtbeginS.o
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/crtbeginT.o
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/crtend.o
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/crtendS.o
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/README
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/emmintrin.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/float.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/iso646.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/limits.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/mmintrin.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/pmmintrin.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/stdarg.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/stdbool.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/stddef.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/syslimits.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/unwind.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/varargs.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/xmmintrin.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/libgcc.a
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/libgcc_eh.a
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/libgcc_s.so
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/specs
    /usr/share/man/man1/gcc-3.3.1.gz
    /usr/share/man/man1/gcov-3.3.1.gz

    35 files total
    ------------------------


    So I separately installed cpp-3.3
    but the gcc-3.3 does not want to use cpp-3.3 for some reason

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,337
    Blog Entries
    15

    Default Re: using older GCC++ (3.3 and 4.3) with 11.2M5

    Quote Originally Posted by vlad suse
    Hi, by itself gcc-3.3 does not install the CPP processor (or at least I
    do not see it)
    -----

    gcc33-3.3.3-14.14

    /lib64/32
    /usr/bin/gcc-3.3
    /usr/bin/gcov-3.3
    /usr/lib64/32
    /usr/lib64/gcc-lib
    /usr/lib64/gcc-lib/x86_64-suse-linux
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/32
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/collect2
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/crtbegin.o
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/crtbeginS.o
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/crtbeginT.o
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/crtend.o
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/crtendS.o
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/README
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/emmintrin.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/float.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/iso646.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/limits.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/mmintrin.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/pmmintrin.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/stdarg.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/stdbool.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/stddef.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/syslimits.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/unwind.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/varargs.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/include/xmmintrin.h
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/libgcc.a
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/libgcc_eh.a
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/libgcc_s.so
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/specs
    /usr/share/man/man1/gcc-3.3.1.gz
    /usr/share/man/man1/gcov-3.3.1.gz

    35 files total
    ------------------------


    So I separately installed cpp-3.3
    but the gcc-3.3 does not want to use cpp-3.3 for some reason
    Hi
    Grab the one from Factory Devel repository;
    <http://rpm.pbone.net/index.php3/stat/4/idpl/11882724/com/gcc33-c++-3.3.3-7.25.x86_64.rpm.html>
    <ftp5.gwdg.de/pub/opensuse/repositories/devel:/gcc/openSUSE_Factory/x86_64/>

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 5 days 6:45, 3 users, load average: 0.27, 0.10, 0.02
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18


  7. #7
    vlad_suse NNTP User

    Default Re: using older GCC++ (3.3 and 4.3) with 11.2M5

    Not sure if repo has changed or Missed them the first time
    but
    I found and installed additional two packages
    gcc33-c++
    and
    gcc43-c++

    once installed the 3.3 and 4.3 compilers worked


    thank you

Tags for this Thread

Posting Permissions

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