Sponsored Content
Full Discussion: how to write c codes in UNIX
Top Forums Programming how to write c codes in UNIX Post 96263 by bankpro on Thursday 19th of January 2006 12:37:30 AM
Old 01-19-2006
cc filename.c /* for compiling */

and


./a.out (or) a.out /* for execution */
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unix return codes

Suppose I have a script which is monitoring a directory whenever a file drops in that directory,it sends alert say I want to write a return code for the above script which on successful execution of script gives a return value Based on return code , I want to do initiate some jobs in other... (1 Reply)
Discussion started by: abhib45
1 Replies

2. Programming

how to write codes "parbegin(p1,p2)" ?

for the pseudocode "parbegin(p1,p2)" how to write codes? p1,p2 are threads function. void p1() { ... } void p2() { ... } void main() { parbegin(p1,p2); } (2 Replies)
Discussion started by: zhshqzyc
2 Replies

3. UNIX for Dummies Questions & Answers

How do you Sum UNIX return codes

Hi, I know how to read a return code after executing a single command. "echo $?". But I do not know how to sum the return code for a group of commands. If I string 3 commands together and I do an echo $? all I get is the retunr code for the last command. Example below: ... (3 Replies)
Discussion started by: z1tt45uuprs7
3 Replies

4. UNIX for Dummies Questions & Answers

How to write if loop in unix

Hi Thanks to one who helped me to create a new thread I am so new to unix and trying to learn the stuff Thanks for all the help I am getting here I wanted to execute if loop like if( x=y || (x=z && x=q)) { some statements } Can I get help how to do write the if loop in unix shell... (5 Replies)
Discussion started by: pinky
5 Replies

5. Shell Programming and Scripting

How to write a daemon in Unix?

Hi I have a directory where sometimes a file will come (in a name format say file001.txt). I want to run a job (.ksh file) as soon as a new file comes into the directory. How can I write a shell script which will run in the background and monitor arrival of new file in the directory? ... (11 Replies)
Discussion started by: sbasak
11 Replies

6. Shell Programming and Scripting

Need to write a script to reformat a file in unix but not familiar with unix

unix script must do the fiollowing open a file containing comma delimited records > each record contains 10 fields > removes the 2nd field and use that same field containing fields 2 to 10 the original record after fprocessing should containing fields 1 and 3 a new erecord must be... (10 Replies)
Discussion started by: dwightja
10 Replies

7. UNIX and Linux Applications

Printing unix error codes

Hi Friends, I need your help in understanding this: :rolleyes: I want to print the error numbers returned by the system calls (not the actual integers but the strings that they match to). The error numbers like EACCESS, ENOMEM, ENOENT etc ... For eg: returnCode = open(somefile,... (2 Replies)
Discussion started by: vijaya2006
2 Replies

8. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

9. Shell Programming and Scripting

Unix Codes for Diacritics

Could someone please correctly tell the codes to use on Unix operating systems to produce the below diacritics: A Ā = Unicode Character 'LATIN CAPITAL LETTER A WITH MACRON' (U+0100) a ā = Unicode Character 'LATIN SMALL LETTER A WITH MACRON' (U+0101) D Ḍ = Unicode Character... (1 Reply)
Discussion started by: Krishna Birth
1 Replies

10. UNIX for Beginners Questions & Answers

How to remove unused html codes from the file using UNIX?

Hi All, We have a HTML source which will be processed using a informatica workflow. In between these two we have a Unix script which transforms the file. We are getting an error from past week in the informatica saying invalid format, because the file has unused html reference (0-8,14-31 etc)... (2 Replies)
Discussion started by: karthik adiga
2 Replies
ikvm(1) 						      General Commands Manual							   ikvm(1)

NAME
ikvmc - compile java classes and jars into CIL assemblies SYNOPOSIS
ikvmc [ -options ] class | jar ... DESCRIPTION
IKVM is an implentation of the Java for the Common Language Infrastructure (CLI) runtime. It includes a byte code JIT compiler/verifier to translate Java byte code to CIL and GNU Classpath to provide the Java class libraries. ikvmc allows statically compiling of Java bytecodes in Java classes and jars into CIL assemblies. The ikvm(1) program provides dynamic compilation to CIL and execution. The Java class or jar parameters may be file globs such as *.class and used to process multiple sources in one step. Duplicates specified in processing will be ignored, with a warning given. OPTIONS
-Dname=value Set system property name to value at runtime. -apartment:mta Apply MTAThreadAttribute to the main class. -apartment:none Don't apply STAThreadAttribute to the main class. -apartment:sta (default) Apply STAThreadAttribute to the main class. -assembly:assembly-name Specify the generated assembly name to assembly-name If this option is omitted, the assembly name is usually the output filename. -da[:packagename ... | :classname] Set the system property to disable assertions. -debug Generate debugging info in the output file. Only useful if the source class files contained debug information, such as compiled with the javac -g option. -disableassertions[:packagename ... | :classname] Set the system property to disable assertions. -ea[:packagename ... | :classname] Set the system property to enable assertions. -enableassertions[:packagename ... | :classname] Set the system property to enable assertions. -exclude:filename Use the list of classes in filename to exclude from compiling. -key:keycontainer Use the key in the container keycontainer to sign the assembly. -keyfile:keyfilename Use the key in file keyfilename to sign the assembly. -main:mainclass Specify the main method class mainclass contains the main method. If omitted and the target is an executable, a search is done for a qualifying main method and ikvmc reports if it is found. -noglobbing Do not glob the class or jar arguments. -nojni Do not generate a JNI stub for native methods. -nostacktraceinfo Do not create metadata to emit rich stack traces. -opt:fields Remove unused private fields. -out:outputfile Set the output filename to outputfile. The extension used here must match the -target used. For a library, it must end in .dll and for an exe or winexe, it must end in .exe. If this option is omitted, an output name will be chosen based on the target type and the name of the input files. If the input files were given with globs, this option must be used. -recurse:filespec Process all files and directories matching filespec which can use globbing. -r:library-filespec -reference:library-filespec Reference an assembly library-filespec used from Java. This option can be used multiple times and globbing is allowed. -resource:name=path Include a Java resource named name in file path. -srcpath:path Set the location of source code for debugging to path. The name of a package is appended to the path to find the file. -target:exe -target:library -target:winexe -target:module Set the generated target type to either a console executable (exe) generating a result.exe, library (library) generating a result.dll, windows executable for GUI applications (winexe) generating a result.exe or module for use by the linker (module) gener- ating a result.netmodule. winexe is only used on Windows. -Xmethodtrace:method-name Build tracing into the specified output method method-name. -Xtrace:name Displays all tracepoints with the given name name. -version:M.m.b.r Set the assembly version to M.m.b.r. SEE ALSO
ikvm(1), ikvmstub(1). IKVM Project web site http://ikvm.net/ <http://ikvm.net/> Man page by Dave Beckett, made available under the same terms as IKVM. 2005-06-19 ikvm(1)
All times are GMT -4. The time now is 10:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy