Sponsored Content
Full Discussion: how to know the gcc version
Top Forums UNIX for Dummies Questions & Answers how to know the gcc version Post 302098922 by Minguccio75 on Thursday 7th of December 2006 10:46:08 AM
Old 12-07-2006
how to know the gcc version

Please someone can say me how to know the gcc version installed on my sunsolaris?
Thanks
 

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
locks(5)							   System Tools 							  locks(5)

NAME
locks - libzypp locking file DESCRIPTION
The file /etc/zypp/locks is read by libzypp at startup if zypp.conf allows it. The entries are used for initial locking of packages. Lock- ing a package means not allowing to install or uninstall it. Valid entries are attribute: value Where attributes and their values are described below. Locks are separated by empty lines. ATTRIBUTES
All attributes are lower-case. repo specifies repository restriction. Only alias is accepted. By default all repositories match. type resolvable type restriction The values can be package, patch, pattern, product and srcpackage. By default all types match. case_sensitive if strings are matched case sensitive. The values are true, false, on, off. The default is case insensitive. install_status status of object. Possible states are installed, not-installed and all. If more install statuses are specified then the last one is used. The values are installed for all packages which are installed, non-installed for packages which can be installed or reinstalled and all for both. The default is all. match_type type of string matching in values. Does not affect type and repo which must be specified exactly. The values are exact, substring, regex for regular expressions, glob for matching as on the command line, and word. The default is substring. query_string String to be matched in multiple attributes. Should be restricted by another attribute with empty value ( it is recommended, because without restriction expect some performance problems ). version Restrict the lock only to some versions. It contains two parts: an optional operator and the version. The operator is ==,!=,<,>,<=,>=. If operator is not specified then == is used. The version has the format [epoch:]version[-release]. Example: version: < 0:0.11.4-2 solvable_name name of object (e.g. zypper) solvable_summary summary of object solvable_arch architecture of object (e.g. x86_64, i586) solvable_description description of object solvable_eula license text of objects which request accepting license by user solvable_license license of package (only for package) (e.g. GPL2) solvable_keywords keywords which specify package (only for package) solvable_authors authors of package (only for package) solvable_group package group (only for package) (e.g. Development/Tools/Version Control ) update_reference_type reference for update (e.g. bugzilla,cve) (only for patches) EXAMPLES
Exact Package This is the way YaST UI does it. Lock k3b (e.g. you don't want to update it). -----locks----- type: package solvable_name: k3b match_type: exact case_sensitive: on Package Wildcard This is the way "zypper addlock cross-*-gcc-icecream-backend" does it. -----locks----- type: package solvable_name: cross-*-gcc-icecream-backend match_type: glob case_sensitive: on Versioned Lock Do not install new GCC. This format is used when converting from the openSUSE-10.3 lock format. -----locks----- solvable_name: gcc match_type: glob version: > 4.2 Anything named KDE Locks everything which contains kde in the name. -----locks----- solvable_name: kde Anything mentioning KDE Locks everything which contains kde in the name, summary, or description. -----locks----- query_string: kde solvable_name: solvable_summary: solvable_description: HOMEPAGE
This manual page only covers the most important attributes. The complete list is available at http://en.opensuse.org/Libzypp/Locksfile AUTHORS
Josef Reidinger <jreidinger@suse.cz> Manual page contributions by Martin Vidner <mvidner@suse.cz>. SEE ALSO
zypper(8) libzypp 4.25.0 locks(5)
All times are GMT -4. The time now is 01:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy