Sponsored Content
Top Forums Programming How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries? Post 302257622 by shamrock on Wednesday 12th of November 2008 04:58:21 PM
Old 11-12-2008
The compiler is a binary program not ASCII text...maybe you mean how do you compile a compiler.
 

We Also Found This Discussion For You

1. Programming

C compiler to build Sparc/Solaris binaries on Linux

Just that the Subject says. I am looking for a C compiler for Linux x86 that will allow me to compile a C source code file and the resulting binary will be able to run on a Sparc running Solaris. Thanks. (2 Replies)
Discussion started by: lyonsd
2 Replies
ic(1int)																  ic(1int)

Name
       ic - compiler for language support database

Syntax
       ic [ -Dname=def ] [ -Uname ] [ -Idir ] [ -v ] [ -o output ] [ source ]

Description
       The  command  generates a binary international database from a database language source file. The command either accepts its input from the
       file source or from the standard input, if you do not specify source .

       The name of the output file is the name of the codeset in the source file or the name you specify using the option.

       For information on creating a database language source file, see the Guide to Developing International Software.

Options
       -D   Defines name to the C preprocessor.  This option has the same effect as including the directive at the head of your source	file.  The
	    default name definition is 1.

       -U   Removes any initial preprocessor definition of name .

       -I   Causes the compiler to search the named directory for files you name in an directive.

       -o   Specifies  the  name you want to use for the output file.  By default, the compiler uses the name of the codeset in the source file to
	    name the output file.

       -v   Requests statistics on the number of simple and double letters in the source file, the number of tables in the source  file,  and  the
	    size of the output binary file.

Restrictions
       The length of the table name modifier is limited to 44 characters.

Examples
       The following command causes the compiler to compile the source file:
       % ic -v GER_CH.8859.in
       INTLINFO database GER_CH.8859:
	     257 code table entries (256 simple/1 multi-byte).
	       1 property table(s).
	       1 collation table(s).
	       1 string table(s).
	       3 conversion tables: toascii, tolower, toupper.
       5051 bytes total length.
       The  compiler  searches	for  the file in the current working directory.  The compiler writes compilation statistics to as requested by the
       option.	The compiler creates a binary file, named in the current working directory.

Return Values
       The compiler returns zero exit status for successful compilation; it returns nonzero status if it encounters errors that inhibit generation
       of a binary file.

Diagnostics
       The compiler issues four types of messages.  The following list describes each of the four types:

       warning	      The compiler has detected syntax that may be in error, but does not adversely effect the binary file.

       error nn       The compiler has detected an error severe enough to inhibit the generation of a correct binary file.

       fatal error    The  compiler  has detected an error that makes it impossible to proceed with the compilation.  This error most often occurs
		      during compilation of the code table.

       fatal bug      This occurs when there are internal errors in the compiler.  For example, this is generally produced  when  an  incompatible
		      source file is given as an input to

Files
       Temporary files

       C preprocessor

See Also
       intro(3int), setlocale(3), environ(5int), lang(5int), nl_langinfo(5int)
       Guide to Developing International Software

																	  ic(1int)
All times are GMT -4. The time now is 08:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy