Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004

    How do I figure out my version of gcc?

    I just installed Fedora Core 1 x86_64 bit version on a dual Opteron machine. I'm still learning Linux, but my first project is to attempt to compile a program coming from a 32 bit machine using a 64 bit compiler on this new machine to look for increased performance. We use gcc and gcc-f77 to compile on the other machines, but I'm unsure if the version of gcc that came with 64 bit Fedora Core 1 is a 64 bit compiler or just at 32 bit. How can I get this info? Is there a place to examine the installed packages and look for version number, etc? Thanks!

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004

    Re: How do I figure out my version of gcc?

    I'm not sure about the 32 vs 64-bit, but to find out what release of gcc you have open up a console and type:

    gcc --version
    Registered Linux user #270181

Posting Permissions

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