Sponsored Content
Full Discussion: how to know the gcc version
Top Forums UNIX for Dummies Questions & Answers how to know the gcc version Post 302098929 by kingdbag on Thursday 7th of December 2006 11:18:53 AM
Old 12-07-2006
$ pkginfo -l | grep gcc


PKGINST: SMCgcc342
NAME: gcc

Try that command should tell you what gcc you have 3.4.2 is version im running.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

gcc version filtering !!

Folks, I am using gcc 2.7.2.1 for NeXT PDO on my Solaris box. I want to get gcc version in a script. I do gcc -v and try to filter the output through awk. It won't come. Strange. Assigning it to the variable is also not possible. Any ideas ? Cheers, Amol. (4 Replies)
Discussion started by: amol
4 Replies

2. UNIX for Dummies Questions & Answers

gcc compiler version?

How do you determine which version of the GNU gcc compiler is on your system? (1 Reply)
Discussion started by: Ben070371
1 Replies

3. Solaris

gcc output size differs on same version of solaris

Hello everybody, I am having two machines. I am using g++v2.95 When I do the build,the size of output file on both machines differ. I am not able to find what can be the problem. Both the machines are solaris 5.6 The command is : g++ -c -g -I./ -I../../../include -I/usr/local/include/g++-3... (1 Reply)
Discussion started by: manishs13
1 Replies

4. HP-UX

GCC version findout

Hi, In unix box GCC installed under the /usr/local/bin/gcc, i want to know the version of GCC. Could you please let me know the process for that. Thanks & Regards, Suji (1 Reply)
Discussion started by: srujana
1 Replies

5. Red Hat

GCC version problem

I have a host PC and a target system . Host System -> gcc (3.2) Redhat linux kernel 2.4.20-8 , glibc 2.3 Target System -> gcc (4.1) Fedora linux kernel 2.6.18-1.2798.fc6, glibc 2.5 I would like to build test program that can be run on both systems --------------------------- ... (0 Replies)
Discussion started by: mugdha
0 Replies

6. Solaris

Installing gcc - recieve error message gcc : cannot execute

AIM- Install Oracle 11g on Solaris using VMWare Steps 1.Logged on as root 2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc 3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD 4.Copied files from CD to /usr/local/bin/gcc 5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies

7. Programming

Getting the random failure after upgraded the gcc version 3.1 to 3.4.6

I am getting the a random failure after upgrading the gcc version 3.1 to 3.4.6. My code where it is failing contains some STL and shared memory concepts.It is perfectly working on old version of gcc.I want to know what are possible causes that made this random error after upgrading gcc 3.4.6. (2 Replies)
Discussion started by: kapilkumawat
2 Replies

8. UNIX for Advanced & Expert Users

Advanced Search * View * Edit JAVA version to WORK in GLASSFISH Forum topic JAVA version

Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1 a. Debian Squeeze (HP DL360). Need to use java version6 On Debian, I did apt-get install sun-java6-jdk. So when I check it's java version "1.6.0_22" Java(TM) SE... (1 Reply)
Discussion started by: lhareigh890
1 Replies

9. Shell Programming and Scripting

Copy a file from directroy/ prior version to the directory/ new version

How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies

10. UNIX for Beginners Questions & Answers

Downloading and installing a very old version of gcc

I would like to acquire a very old version of gcc: 4.4.3 and set it up in such a way that I can use the update-alternatives command to switch between my current version and the older version. I believe I may have found a website where I can download 4.4.3 from. However, I am not sure what all I... (6 Replies)
Discussion started by: Circuits
6 Replies
JCF-DUMP(1)								GNU							       JCF-DUMP(1)

NAME
jcf-dump - print information about Java class files SYNOPSIS
jcf-dump [-c] [--javap] [--classpath=path] [--CLASSPATH=path] [-Idir...] [-o file] [--version] [--help] [-v] [--verbose] classname... DESCRIPTION
This is a class file examiner, similar to "javap". It will print information about a number of classes, which are specifed by class name or file name. OPTIONS
-c Disassemble method bodies. By default method bodies are not printed. --javap Generate output in "javap" format. The implementation of this feature is very incomplete. --classpath=path --CLASSPATH=path -Idirectory -o file These options as the same as the corresponding gcj options. --help Print help, then exit. --version Print version number, then exit. -v, --verbose Print extra information while running. SEE ALSO
gcc(1), gcj(1), gcjh(1), gij(1), jcf-dump(1), gfdl(7), and the Info entries for gcj and gcc. COPYRIGHT
Copyright (C) 2001, 2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the Invariant Sections being ``GNU General Public License'', the Front- Cover texts being (a) (see below), and with the Back-Cover Texts being (b) (see below). A copy of the license is included in the man page gfdl(7). gcc-3.2.2 2003-02-25 JCF-DUMP(1)
All times are GMT -4. The time now is 04:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy