I want to compile all files in my directory i wrote
find *.c | gcc -o * *.c
but it dosent work Help pliz
Does gcc even take piped input? I don't think I've ever seen any compiler used that way.
What are you trying to accomplish? Compile a bunch of C files into one executable? There's an even simpler way than the examples DGPickett provided:
The "*.c" argument is expanded by your shell to every file in your current directory that ends in ".c", no matter what it begins with (as long as it doesn't start with a "." character, anyway), and the "-o" argument tells gcc that the next argument is the name of the file it's to use to write its output to.
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)
Hi,
I am working with AIX5.3 and I downloaded the gcc-4.2.4.tar.bz2 from the site and when I am trying to un-tar it.It is throwing error--
Please help me to resolve it.
Thanks in Advance.. (6 Replies)
Which gcc compiler release had the Arm 9 multicore support?Whether the compiler that used for the single Arm 9 core can be used for its multicore systems ?
If gcc not support,please tell me which are the compilers that are available for Arm 9 multicore systems (including commerical).Whether... (0 Replies)
Hi, I have recently got a job in unix, now training is going on and we have been practicing on telnet, so to practice at home I have installed vmware(virtual machine) and planning to download ubuntu. So my doubt is that whether I can write c and cpp progs in vi editor and can I run them by default... (5 Replies)
Hello
I'm not able to install gcc.
My platform is
# uname -a
Linux localhost 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
#yum install gcc
I got the following error
---> Package libgfortran44.x86_64 0:4.4.4-13.el5 set to be updated
---> Package... (2 Replies)
Hi guys,
I need to know how i can ignore Pipe '|' if Pipe is coming as a column in Pipe delimited file
for eg:
file 1:
xx|yy|"xyz|zzz"|zzz|12...
using below awk command
awk 'BEGIN {FS=OFS="|" } print $3
i would get xyz
But i want as :
xyz|zzz to consider as whole column... (13 Replies)
Discussion started by: rohit_shinez
13 Replies
LEARN ABOUT OPENSOLARIS
netscript-compile
NET-COMPILE(8) System Manager's Manual NET-COMPILE(8)NAME
netscript-compile - netscript ipfilter-defs compile back end.
SYNOPSIS
netcript-compile [ -fhq ] [ -b max-backup-level ]
DESCRIPTION
This manual page documents briefly the netscript-compile command from the netscript router/firewall network configuration package.
This command is the back end to the netscript compile command documented in netscript(8) manpage. See ipfilter-defs(5) for the details on
the definitions files in /etc/netscript/ipfilter-defs.
By default it checks to see if the relevant files in the /etc/netscript/ipfilter-defs directory have been updated by comparing their modi-
fication times to that of /etc/netscript/ipfilter-defs.conf, and if updating is needed, it recompiles and re-creates the file. Up to max-
backup-levels of history are kept of previously compiled /etc/netscript/ipfilter-defs.conf files, with a numeric extention in order of
increasing age.
OPTIONS -b max-backup-level
Sets the maximum level of backups kept of previously compiled files. This defaults to 2 (see /etc/netscript/netscript-com-
pile.conf), and it is also used by the netscript(8) compile command.
-f Force compile even though compile file is up to date with definitions. The testing depends on the modification times of the defini-
tion file inodes in the file system.
-h
Show a summary of options.
-q Quiet compile. This option suppresses informational progress messages.
FILES
/etc/netscript/ipfilter-defs.conf,
/etc/netscript/ipfilter-defs-compiled.conf,
/etc/netscript/ipfilter-defs directory.
SEE ALSO ipfilter-defs(5), netscript(8).
AUTHOR
This manual page was written by Matthew Grant <grantma@anathoth.gen.nz>, for the Debian GNU/Linux system (but may be used by others).
BUGS
I wrote this manpage when I was not half asleep...
March 25, 2003 NET-COMPILE(8)