10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
I am working on a shell script(main script) where in i have to call another script B and pass parameter to that script. I see that the shell script that is being called in the main script is throwing warnings/fatal errors. So i am just wondering how do i capture these and ask the script... (1 Reply)
Discussion started by: stunnerz_84
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am using GNU unix. And running a bash shell. Can anyone please tell me what is the command for changing the color of the compiler error/warning messages on the console. I think it is in .bashrc and do not know how.
Thanks
Pink (1 Reply)
Discussion started by: pink01
1 Replies
3. OS X (Apple)
For a long time, when I type man anything on my Mac, both the manpage header fonts and the background was black, so I had to use my mouse to highlight the manpage output to read it. It was really annoying.
The problem was the same both locally or using the terminal and going ssh somewhere.
... (1 Reply)
Discussion started by: Neo
1 Replies
4. Shell Programming and Scripting
i have this script which works fine but shows errors when it runs..these are more like warnings and the script runs fine.. i am on a sun machine.. i know it writes all the error messages to a master log file.. is there any way i can turn off these warnings/error messages and prevent them from being... (2 Replies)
Discussion started by: npatwardhan
2 Replies
5. Solaris
OK so I've been trying to figure this out on and off for about two years on Solaris 8, and now I'm trying to do it in Solaris 10 (which seem to have identical resource structures for Dtwm.)
I've created my own sleek, single row front panel with small custom icons, and smaller font so that it's... (1 Reply)
Discussion started by: insamniac
1 Replies
6. UNIX for Dummies Questions & Answers
Hi, I develop code using a few different solaris platforms. I've recently moved to SunOS 5.10 using the following c compiler.
Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
On this box and these versions I get hundreds of warnings that do not appear of the earlier solaris/c versions.
... (4 Replies)
Discussion started by: speedos82
4 Replies
7. Solaris
Hi,
We are porting our application from 32bit to 64bit.
We tried -xarch=v9, -xarc=v9a and -xport64=full options so that compiler to issue 64bit porting warnings.
But we are not getting any porting warninings
WE are using CC 5.5 compiler on sparc-solaris m/c.
Please tell us some powerful... (0 Replies)
Discussion started by: shobhah
0 Replies
8. UNIX for Dummies Questions & Answers
I have only slight difference between remarks (gray) and code (black)
using c and c++ how cani change remark to other color ?
The option preferences/language mode/c++ doesn't help (0 Replies)
Discussion started by: eynkesef
0 Replies
9. AIX
Hi Guys,
We are migrating AIX 5.1 to AIX 5.3. With this upgrade the C/C++ compiler is also upgraded to Visual Age C++ 6.0.
After upgrading, when we tried to (re)compile our programs (since ibm open library classes are not going to work with new compiler), we are getting so many errors with no... (2 Replies)
Discussion started by: satguyz
2 Replies
10. UNIX for Dummies Questions & Answers
Is it possible to change the color of text in a korn shell script Menu?
I can change the color of session text through my telnet client but I want to be able to change color text in the Korn shell menu to highlight certain items. (6 Replies)
Discussion started by: darthur
6 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)