LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-02-2004, 01:41 PM   #1
drj434343
LQ Newbie
 
Registered: Sep 2004
Location: California
Distribution: Fedora Core
Posts: 1

Rep: Reputation: 0
how to get info about 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!
 
Old 09-02-2004, 01:53 PM   #2
sirclif
Member
 
Registered: Sep 2004
Location: south texas
Distribution: fedora core 3,4; gentoo
Posts: 192

Rep: Reputation: 30
rpm (RPM Package Manager) has a query option , -q

for my system it get

>rpm -q gcc-g77
gcc-g77-3.3.1-29

this gives the version name, whether or not you can tell if its 64 bit from that i don't know.
 
Old 09-02-2004, 06:02 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
gcc --version
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 03:54 PM
redhat fedora gcc version (compiled for 2.4.20) doesn't match kernel version 2.4.22 start1000 Linux - Software 0 03-16-2004 09:17 PM
Info on software version 87stang Linux - General 2 03-03-2004 06:34 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 01:07 AM
Sample Driver Module incompatibility with Kernel version (or gcc version) jvs Linux - General 1 06-07-2002 02:40 AM


All times are GMT -5. The time now is 03:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration