Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
Hi, Where can I get the g++ compiler for RedHat 7.2 ? I'm trying to install the qtlib and this package needs of this compiler, and I only find this ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2003
    Posts
    2

    g++ in RedHat 7.2


    Hi,

    Where can I get the g++ compiler for RedHat 7.2 ? I'm trying to install the qtlib and this package needs of this compiler, and I only find this compiler to Conectiva distribution...

    Thanks in advance.

  2. #2
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    Code:
    rpm -Uvh ftp://rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/gcc-2.96-98.i386.rpm

  3. #3
    Just Joined!
    Join Date
    Jan 2003
    Posts
    2

    g++

    Hi,

    Before to install the package gcc-2.96-98, I see the files that are in this package, and I see that there is no a g++ executable... When I try to install the qtlib, a g++ executable is required, so I think that this package (gcc-2.96-9 will not solve my problem...
    I need to have sure that a package will sove my problem because I'm running 2.96-85 cpp, that is required by the kernel-sources, and it is required to compile the sources of Lucent winmodem device drivers, then if I change the cpp I'll have to recompile my Lucent windmodem drivers (and I think that this will not be easy...).

    Thanks for your answer.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    I am sure that g++ comes with that rpm. It will contain compilers for c, c++, fortran, obj c, java, ada, and all the libs for them. btw gcc stands for gnu compiler collection.

  6. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    That was just a typo from his side, right majorwoo?
    Try this instead:
    Code:
    rpm -Uvh ftp://ftp.redhat.com/pub/redhat/linux/7.2/en/os/i386/RedHat/RPMS/gcc-c++-2.96-98.i386.rpm

  7. #6
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Yes, that's basically true, genlee, but RedHat ships the different front-ends in different RPMs.

  8. #7
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    I think its dumb to split gcc up like that but ok.

  9. #8
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I guess it is to save disk space, so I'd say it's ok. I don't really see what you have against it? gcc is made to be modular, after all.

  10. #9
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    Dolda are you trying to say I can't type?
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  11. #10
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Naaaah... I wouldn't say that... not explicitly at least...

Page 1 of 2 1 2 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
  •