C(1)

C(1) User Commands C(1)

NAME

C - a pseudo interpreter of the C programming language

SYNOPSIS

C [options] [sourcefile] [arguments]

DESCRIPTION

C (pronounced large-C) is a psuedo interpreter of the C programming language.

Without the need of manual compilation, developers can rapidly create scripts or write one-liners using the C programming language that runs at native-code speed.

OPTIONS

-c<gcc_option>
pass a compiler option to GCC
-d
use debugger
-e <expression>
executes the expression
-i<include_file>
add an include file
-k
keep temporary files
-l<gcc_option>
pass a linker option to GCC
-m
use main function
-p
use C++ (implies -m)
-S
show disassembly
-h, --help
displays this help message
--version
displays version number

EXAMPLES

% C -cWall -cO2 -e 'printf("hello world\n")'
% C -p -e 'int main(int,char**) { cout << "hello" << endl; }'

AUTHOR

Written by Kazuho Oku (http://labs.cybozu.co.jp/blog/kazuhoatwork/)

COPYRIGHT

Copyright © 2006 Cybozu Labs, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

May 2006 C 0.06