Sponsored Content
Top Forums Programming Diagnostics? (nubie question) Post 54861 by cpiuk on Thursday 26th of August 2004 10:42:18 AM
Old 08-26-2004
Diagnostics? (nubie question)

Hi People,
I've been give the source code for a C program that I'm to compile using the GCC compiler. The system is running HP-UX.

So I followed the simple instructions I have and it gave me an executable file. Sounds good so far.

Unfortunately as soon as i run the executable it fails.

Are their any simple options I can use during the compile or at execution to give me some diagnostics on the failure?

Cheers
Phil
 

4 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

diagnostics for disk problems on an AIX server

There is a TSM server in which iam getting this error Unable to read or write logical volume manager record. PV may be permanently corrupted. Run diagnostics how do i run the diagnostics?? any suggestions will really help. Thanks! karthik (1 Reply)
Discussion started by: karthikosu
1 Replies

2. AIX

diagnostics

There is a TSM server in which iam getting this error Unable to read or write logical volume manager record. PV may be permanently corrupted. Run diagnostics how do i run the diagnostics?? any suggestions will really help. Thanks! karthik (4 Replies)
Discussion started by: karthikosu
4 Replies

3. Solaris

Bootable Diagnostics CD

Greetings, My Bootable Diagnostics CD broke a while back and I do not have a current contract number to redownload it. Is there a way i could borrow this from someone really nice? I have a couple of v20z but one of them doesn't recognize the disks (known good). Cheers (0 Replies)
Discussion started by: DaeO
0 Replies

4. UNIX for Dummies Questions & Answers

diagnostics of server

Hi there, I have a problem, maybe security problem. I am pretty scared of it. There are some activity between my NAS server and my laptop(or other pc). If am connected via sshfs there are work with drives on server. I have tried to detect a core of problem. But, because I am not advanced... (2 Replies)
Discussion started by: perseus
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 05:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy