04-01-2002
Try usinging the command cc-v this will give your the details of the compiler.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Having issues with the . parameter in the find command.
Issuing "find . -name \*.pl" gives me
find: cannot open .: No such device
I got it working by substituting . with *, so "find * -name \*.pl" gives the correct listing.
bin/test.pl
"which find" lists /bin/find.
Anybody... (7 Replies)
Discussion started by: jabrady
7 Replies
2. Solaris
Dear Frnz
Could you tell how to determine the c/c++ compiler version installed in the solaris 10/solaris 8.
IT could be very helpful if you can tell me the pkg name also.
Thanks (2 Replies)
Discussion started by: sriram.s
2 Replies
3. Programming
Hi,
I am trying to get a the process cpu usage from the /proc file recently, on the Solaris 5.10. But met some rookie issue which i need some help. for below program, compiler complains that pstatus_t is undefined, although both type are defined in the procfs.h.
#include <sys/procfs.h>... (4 Replies)
Discussion started by: sleepy_11
4 Replies
4. Shell Programming and Scripting
Hi every1:)
I have a problem with find and Pipe to gawk.
Find -name '*.txt' -> works fine.. Gives all the txt file under home directory and sub directories
But when I use it like this (see below).
Find -name '*.txt' | gawk -F '\t' "script" :confused:
It doesn't work.... (22 Replies)
Discussion started by: Needhelp2
22 Replies
5. Programming
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies
6. AIX
Command to get the Compiler version(xlc/gcc) from the binary on AIX platform.
I m searching for the Command, to get the Compiler(xlc/gcc) used to build the binary on AIX.
I got two commands used on Linux Platform:
- readelf -a <lib> | grep comment
- hexdump -C -s 0x49e7b -n 1812 <lib>
... (1 Reply)
Discussion started by: Prajakta
1 Replies
7. Programming
Hi experts,
How do I find if a C compiler is installed on Solaris ?
> cc -o
ksh: cc: not found
> CC
ksh: CC: not found
> gcc
ksh: gcc: not found
I am using Solaris 5.8
Thanks,
Sameer. (1 Reply)
Discussion started by: ensameer
1 Replies
8. UNIX for Advanced & Expert Users
Hi,
I have a .ksh script which finds all the directories older than 84 days and tries to housekeep. Below is the command used
find * -depth -type d -ctime +84 -exec rm -rf {} \;
The above command lists all the directories ie child and parent directory in descending order which are more... (0 Replies)
Discussion started by: annamalai77
0 Replies
9. Shell Programming and Scripting
if ]
then
leftarray=($(find . -type l -printf "%p\n" 2>/dev/null))
rightarray=($(find . -type l -printf "%l\n" 2>/dev/null))
for var in "${rightarray}"
do
maximumarray=`echo "$var" | tr -dc "/" | wc -c | tr -d " "`
index=$(($index+1))
done
#############
for numbers in... (3 Replies)
Discussion started by: xpukm
3 Replies