04-03-2002
I tried that command and it said.
/gcc-3.0.1/gcc: is a directory
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
LEARN ABOUT DEBIAN
fwb_ipfw
fwb_ipfw(1) Firewall Builder fwb_ipfw(1)
NAME
fwb_ipfw - Policy compiler for ipfw
SYNOPSIS
fwb_ipfw [-vVx] [-d wdir] [-o output.fw] [-i] -f data_file.xml object_name
DESCRIPTION
fwb_ipfw is a firewall policy compiler component of Firewall Builder (see fwbuilder(1)). This compiler generates code for ipfw - a firewall
and traffic shaper in FreeBSD (see ipfw(8)). Compiler reads objects definitions and firewall description from the data file specified with
"-f" option and generates firewall configuration and activation script.
The generated file has a name that starts with the name of the firewall object, with an extension ".fw". It is a shell script that flushes
current policy, then loads new filter and nat rules.
The data file and the name of the firewall objects must be specified on the command line. Other command line parameters are optional.
OPTIONS
-f FILE
Specify the name of the data file to be processed.
-o output.fw
Specify output file name
-d wdir
Specify working directory. Compiler creates firewall activation script in this directory. If this parameter is missing, then all
files will be placed in the current working directory.
-v Be verbose: compiler prints diagnostic messages when it works.
-V Print version number and quit.
-i When this option is present, the last argument on the command line is supposed to be firewall object ID rather than its name
-x Generate debugging information while working. This option is intended for debugging only and may produce lots of cryptic messages.
NOTES
Support for ipfw was added in version 1.0.10 of Firewall Builder
URL
Firewall Builder home page is located at the following URL: http://www.fwbuilder.org/
BUGS
Please report bugs using bug tracking system on SourceForge:
http://sourceforge.net/tracker/?group_id=5314&atid=105314
SEE ALSO
fwbuilder(1), fwb_ipt(1), fwb_pf(1) fwb_ipf(1)
FWB
fwb_ipfw(1)