Sponsored Content
Top Forums Programming Compile c program on Sun Solaris OS Post 302283181 by shamrock on Monday 2nd of February 2009 07:06:42 PM
Old 02-02-2009
Why is gcc / cc not working? Can you post the errors you get while compiling or a script of the compilation session.
 

10 More Discussions You Might Find Interesting

1. Programming

how to compile a program

how do i go about compiling a simple hello world script in mandrake linux? this is something i have had no luck in finding on the main site, please help? thank you (2 Replies)
Discussion started by: CmpKillr
2 Replies

2. Programming

How to compile a c program by using gcc

Hi all, Yeasterday I try to compile c program by using cygwin. I just find an errors the fist one is concerinig about the end of the line. To summit my Assignment which is the day after tommorow I have to compile my c program by using just gcc. If any one know what do I have to... (5 Replies)
Discussion started by: Bell
5 Replies

3. Programming

how to compile a program statically

how can i do static compilation in cc and -lldap i have system defined and user defined header file. Can any one suggest any site where from i can get some information about static and dynamic compilation. Thankx (1 Reply)
Discussion started by: bhakti
1 Replies

4. Solaris

Sun Solaris Audit Program

Hi All, Any one has, sun solaris audit program which covers everything one need to check as a security auditor. Audit Program will help. Thanks, Ghanshyam Emails not allowed - see the Rules (4 Replies)
Discussion started by: ghanshyampatel
4 Replies

5. BSD

How to compile a c program in freeBSD

Hi , I have freeBSD installed. I need to compile a c program which has embedded informix sql statement in it. Can you please help me to to do the same. I need to know what I should I do to make BSD compatable to compile the c program ? Thanks in advance Jisha (3 Replies)
Discussion started by: jisha
3 Replies

6. Programming

Compile and Run C Program on Solaris

Hello Guys, I am using Solaris Developer Express Edition 9/07, I am a beginner. Please tell me how to compile and execute a C program. Please give me your answers clearly, for the compilers cc,c89,c99. I not getting the answer anywhere. Please....... reply to me. Advance thanks......... (0 Replies)
Discussion started by: selva_ss
0 Replies

7. Programming

compile a c program

I am trying to compile a c program on AIX 5.3L 64-bit unix. I have used this program in the past and it works. Does anybody know what this error means? /usr/local/bin> gcc get_epoch_secs.c get_epoch_secs gcc: get_epoch_secs: No such file or directory get_epoch_secs.c: In function... (8 Replies)
Discussion started by: djehresmann
8 Replies

8. UNIX for Dummies Questions & Answers

Problem in GUI based program on Sun Solaris

Hello! I am trying to run a program which has used Xlib for its graphical user interface on Solaris through Common Desktop Environment(CDE). All I get is my three required widows open but all blank.They suppose to show some symbols, pictures ad buttons.In the command terminal the following... (1 Reply)
Discussion started by: asif92
1 Replies

9. UNIX for Advanced & Expert Users

compile a c program in a encrypted way

Hi Guys, I wonder I had have a look to the cc compile options but I could be missing one but basically I'm compliling a c program where I will storing a command to connect to a database and also userid and password. The issue is that after the module is generated using a command like strings I... (14 Replies)
Discussion started by: arizah
14 Replies

10. Solaris

Compile PHP 5.3.6 with MySql on Sun Blade 1500 Solaris 10

Hello, I'm trying to compile PHP 5.3.6 with Apache2 and MySql 5.5.12. I hit a problem that I can't seem to resolve by myself and I could not find a solution on the web. It looks like Apache and MySql installed ok, I can start/stop them with no problem. When I try to compile PHP the... (4 Replies)
Discussion started by: pn8830
4 Replies
kayac(1)						      Kaya program reference							  kayac(1)

NAME
Kayac - Compiler for the kaya language SYNOPSIS
kayac FILE [-L DIRECTORY [-L ...]] [-libdir DIRECTORY [-libdir ...]] [-force] [-nochase] [-noprelude] [-nortchecks|-fastvm] [-noopts] [-repl] [-pic] [-xmldocs] [-static] [-profile] [-seedkey STRING] [-dumptac] [-dumpraw] [-dumptree] [-dumpsimpl] [-dumpeqns] [-dumpcg] [-dumpdeps] [-keepc] [-showgcc] kayac [-version|-v|-help|-h|-?|-installdir] DESCRIPTION
kayac compiles modules, programs and web applications in the Kaya programming language. kayac will automatically compile dependencies as necessary provided that, for a dependency Foo, the source file is called Foo.k and is in the current working directory. OPTIONS
-? | -h | -help Show usage summary -v | -version Show version number -installdir Show the directory in which the libraries are installed -L DIRECTORY | -libdir DIRECTORY Add DIRECTORY to the library search path. -force Force compilation even if kayac thinks it isn't needed. -q Quiet compilation; don't report which module is being built. -nochase Don't chase up and compile dependencies. Implies -force and -q. -deprfail Fail compilation if a deprecated function is called. -noprelude Don't import the Prelude (probably only useful when compiling the standard library). Compiling anything other than modules with this option is unlikely to work well. -noenvlibs kayac will ignore the KAYA_LIBRARY_PATH environment variable when compiling, and will not import from the compiled-in library directories (probably only useful when compiling the standard library) -nortchecks Disables some run-time checking. This speeds up the final program, at the cost of making errors harder to track down (and possi- bly introducing additional subtle errors where an exception would previously have occurred). Only recommended for bug free pro- grams... -fastvm Uses a version of the Kaya VM that is optimised for applications such as web applications with a short run-time (a few seconds or less) for which it is significantly faster than the normal VM. However, for longer-running applications memory usage can grow very rapidly. This option implies and takes precedence over -nortchecks. -noopts Disables compile-time optimisations. Probably only useful for debugging purposes. -repl Read-Eval-Print loop mode. In this mode you can interactively test the behaviour of functions without needing to build a separate testing program, in a top-level interpreter. See kaya(1) for more information. This option implies -pic. -pic Use the -fPIC option of the C compiler to make position-independent code suitable for shared libraries. This option has no effect on Windows, where all code is position-independent. -xmldocs Generate XML documentation. This can then be converted into HTML or Manpage format using the KayaDoc module and the xml2man(1) tool. -static Statically link executables so that they can be run on a wider range of systems at the cost of signficantly increased file size. This is generally only useful if you are making a pre-compiled binary distribution. You may get some warnings from the linker about potential problems and limitations when linking some libraries, or compilation may fail entirely if the static libraries are unavailable. -profile Turns on profiling in the output code. The program will then generate a gmon.out file when run, which can then be analysed with a program such as gprof(1). This option also enables -static, and to get a useful call graph report from gprof, your libgc library must have been compiled with profiling enabled. -seedkey STRING Use a string to seed the random number generator which makes a secret key. Useful for testing web apps. DEBUGGING OPTIONS
These options generate debugging information. -dumptac Dump bytecode -dumpraw Dump the raw parse tree. -dumptree Dump the type checked parse tree. -dumpsimpl Dump the simplified, desugared and optimised code in a human readable (almost) form. -dumpeqns Dump the type equations used in type inference -dumpcg Dump the function call graph -dumpdeps Dump the module dependency graph -keepc Keep the generated C code -showgcc Print the command sent to gcc ENVIRONMENT VARIABLES
KAYA_LIBRARY_PATH A list of extra paths to search for kaya libraries. Paths are separated by ':' on Posix systems, and ';' on Windows. DOCUMENTATION
Library documentation for Kaya can be found at <http://kayalang.org/library> or in the manual section 3kaya OBTAINING
The latest release of Kaya can be obtained from <http://kayalang.org/download>. You can receive announcements of new versions of Kaya by subscribing to the kaya-announce mailing list <http://lists.kayalang.org/lists/listinfo/kaya-announce> Development versions can be obtained using darcs(1) from <http://kayalang.org/darcs/> BUGS
Please report bugs found to <kaya@kayalang.org> LICENSE
kayac is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 2 or any later version) as published by the Free Software Foundation. SEE ALSO
darcs(1) gcc(1) gprof(1) rekey(1) xml2man(1) Kaya June 2007 kayac(1)
All times are GMT -4. The time now is 08:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy