c89-Issue


 
Thread Tools Search this Thread
Operating Systems HP-UX c89-Issue
# 1  
Old 05-16-2008
c89-Issue

hi


Please let me know where do i download c89 compiler( if source files is there , then send me then i can build locally and install

Please let me know any issues

BR
vasanth
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Issue with wc -c and wc -m

Hi All, I have a small queries to get the character count i tried with wc -c and wc -m but its not returend current result For eg: wc -c wc -m echo "Name" | wc -c result: 5 but actually it should returned 4 Help me on this to ge the correct one. Thanks! ----------... (4 Replies)
Discussion started by: siva.pitchai
4 Replies

2. Shell Programming and Scripting

Variable value substitution issue with awk command issue

Hi All, I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command. The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies

3. Shell Programming and Scripting

Need assistance with a file issue and a terminal issue

Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Discussion started by: MrMagoo22
1 Replies

4. Shell Programming and Scripting

CP Issue

I want to copy large amount of files aproximately more than 20,000 files from one file system to another file system, but it gives me error like: #cd /opt/appserver/images #cp * /opt/appserver02/public/images Argument list is too long Also above mention error appear again when i run: ... (1 Reply)
Discussion started by: telnor
1 Replies

5. Solaris

IP issue

hi , I have a Solaris server which is part of a domain. The IP for this Solaris box is allocated dyanamically by a DHCP. Everytime the solaris box is restarted the IP gets changed. Being an admin what should i do to find the new ip of the Solaris server sitting at my location? Till now i get... (2 Replies)
Discussion started by: BalajiUthira
2 Replies

6. UNIX for Dummies Questions & Answers

ISSUE and ISSUE.NET files

In LINUX(CentOS, RedHat) is there a way to have the banner statement appear before the logon instead of after the logon? In UNIX and Windows the banner appears before a person actually logs on, what I'm seeing in LINUX is that it appears after the login(ftp, telnet, SSH). Thanks (0 Replies)
Discussion started by: ejjones
0 Replies

7. Linux

whereto download c89 compiler

hello everyone, i need a c89 compiler for hp-ux 11.11 machine. can somebody suggest where to download c 89 compiler. any help appriciated. regards, mannam (1 Reply)
Discussion started by: mannam srinivas
1 Replies

8. Shell Programming and Scripting

Unix Arithmatic operation issue , datatype issue

Hi, I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ). Eg: 0000001 0000220 0001235 0000022 0000023 ........... ......... ........ Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies

9. UNIX for Dummies Questions & Answers

ps issue

HI All, Suddenly don't know what happened to redhat linux 7.2 any program start then itsn't listing while using ps -ef ex: ./xyz this xyz program pid not showing in ps-ef Pls let me know what is the reason for the same. Thanks a lot in advance Bache (7 Replies)
Discussion started by: bache_gowda
7 Replies
Login or Register to Ask a Question
c89(1)							      General Commands Manual							    c89(1)

NAME
c89 - Standard C Compiler SYNOPSIS
c89 [-c] [-D name [=value]]... [-E] [-g] [-I directory]... [-L directory]... [-o outfile] [-O] [-s] [-U name]... file... STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: c89: XPG4, XPG4-UNIX Refer to the standards(5) reference page for more information about industry standards and associated tags. OPTIONS
The following options are defined by the XPG4-UNIX standard. However, the compiler can also recognize the options defined in cc(1). Unlike cc(1), c89 includes the -std1 option by default (for ANSI C standards checking). To check for full compliance to XPG4-UNIX, you must also specify -D_XOPEN_SOURCE_EXTENDED. See standards(5) for more information. Suppress the loading phase of the compilation and force an object file to be produced. Produce symbol table information for full symbolic debugging and suppress optimizations that limit full symbolic debugging. Symbol types and stack-frame variables names are available. Global optimizations are not performed. Instruction scheduling does not span source line boundaries. Trap instructions are inserted to ensure that exceptions are reported on the source lines that caused them to be generated. Remove the symbol table and relocation bits to save space (this impairs the usefulness of the debuggers). This informa- tion can also be removed by strip(1). Name the final output file output. If this option is used, the file a.out is undisturbed. Define the name as if with a #define statement. If no definition is given, the name is defined as 1. Run only the C macro preprocessor on the files and send the result to the standard output device. Specifies that #include files whose names do not begin with / are always sought first in the directory of the file argument, then in directories specified in -I options, and finally in the standard directory, /usr/include. Adds dir to the list of directories that are searched for libraries. Directories specified with -L are searched before the standard directories. Enable global optimization, including code motion, strength reduction and test replacement, split lifetime analysis, and code scheduling. Remove any definition of name previously defined with the -D option. DESCRIPTION
Compiles source code in conformance with the XPG4-UNIX standard. The c89 command can process one or more of the following types of "file" arguments: Files whose names end with are assumed to be C source programs. They are compiled, and each object program is left in the file whose name consists of the last component of the source with sub- stituted for file is deleted only when a single source program is compiled and linked in a single step. Files whose names end with are assumed to be libraries of object files. These files are passed directly to the linker. Files whose names end with are assumed to be object files produced by a previous c89 command. These files are also passed directly to the linker. The c89 command can take other types of file arguments, although they are not part of the standard specification. See cc(1) for a descrip- tion of the other file types. When the compiler is invoked, it defines the following C preprocessor macros that identify the language of the input files and the environ- ments in which the code can run: __LANGUAGE_C__ __unix__ __osf__ __alpha _SYSTYPE_BSD LANGUAGE_ASSEMBLY __LANGUAGE_ASSEMBLY__ You can reference these macros in #ifdef statements to isolate code that applies to a particular language or environment. ERRORS
The diagnostics produced by c89 are intended to be self-explanatory. Occasional messages may be produced by the assembler or loader. EXAMPLES
Compiles helloworld.c and produces the executable file helloworld.c c89 -o helloworld helloworld.c Compiles helloworld.c and creates the object file helloworld.o. c89 -c helloworld.c Compiles a.c and b.c, producing a.o and b.o. The object files main.o, a.o, and b.o are then linked together, using the library /a/b/c/libQ.a to resolve any references in a.o, and /a/b/c/libp.a to resolve any references in b.o. The executable program is placed in the file a.out. Only one -L option is needed because libQ.a and libp.a reside in the same directory. c89 -L /a/b/c main.o a.c -l Q b.c -l p ENVIRONMENT VARIABLES
The following environment variables affect compiler operation: Provides a default value for locale variables that are not set. If any of these variables contains an invalid setting, the compiler behaves as if none were set. If set to a non-empty string, this variable over- rides values in all locale variables, including LANG. Determines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte characters instead of multi-byte characters in arguments and input files). Determines the locale used for diagnostic messages. Determines the locale of message catalogs for the processing of LC_MESSAGES. Provides a pathname that overrides the default directory for temporary files, if any. For more information on these environment variables, see i18n_intro(5) and l10n_intro(5). FILES
Input file Object file Loaded output Compiler error messages in English Temporary Compiler configuration file (optional) C front end C macro preprocessor DEC C compiler Binary ucode and symbol table joiner Ucode loader Binary ucode and symbol table splitter Procedure inte- grator Optional global ucode optimizer Post-link optimizer Code generator Symbolic to binary assembly language translator Binary assembly language assembler and reorganizer Run-time startup Startup for profiling Standard library, see intro(3) Level 1 profiling library Standard directory for #include files Interface between prof and cord Procedure rearranger Binary-to-symbolic ucode translator Symbolic-to-binary ucode translator File produced for analysis by prof File produced for analysis by gprof SEE ALSO
Commands: as(1), cc(1), ld(1) Other: i18n_intro(5), l10n_intro(5), standards(5) Guides: ANSI X3.159-1989 B. W. Kernighan and D. M. Ritchie, The C Programming Language B. W. Kernighan, Programming in C -- a tutorial D. M. Ritchie, C Reference Manual Programmer's Guide Assembly Language Programmer's Guide Compaq C Language Reference Manual c89(1)