GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
S7C(1) SEED7 COMPILER S7C(1)

s7c - compiler for the Seed7 programming language

s7c [ options ] source

s7c invokes the Seed7 compiler. Seed7 is an extensible general purpose programming language. It is a higher level language compared to Ada, C/C++ and Java. Its major features include: user defined statements and operators, abstract data types, templates without special syntax, OO with interfaces and multiple dispatch, statically typed, interpreted or compiled, and portability. The documentation of Seed7 and many examples can be found in /usr/share/doc/seed7

-?
Write Seed7 compiler usage.
Tell the C compiler to optimize with level n (n is between 1 and 3).
Equivalent to -O1
Specify the stack size of the executable (e.g.: -S 16777216 ).
Specify the directory of the Seed7 runtime libraries (e.g.: -b ../bin ).
Specify configuration (C compiler, etc.) to be used (e.g.: -c emcc ).
Generate code which sends a signal, if an uncaught exception occurs. This option allows debuggers to handle uncaught Seed7 exceptions.
Enable link time optimization.
Tell the C compiler to generate an executable with debug information. This way the debugger will refer to Seed7 source files and line numbers. To generate debug information which refers to the temporary C program the option -g-debug_c can be used.
Add a directory to the include library search path (e.g.: -l ../lib ).
Optimize generated C code with level n (n is between 0 and 3). E.g.: -oc3
Activate simple function profiling.
Suppress checks specified with x. E.g.: -sr or -sro
Set runtime trace level to x. E.g.: -te
Specify warning level n. E.g.: -w2

The option -ocn can optimize generated C code with level n. The following optimization levels for generated C code are supported:

0
Do no optimizations with constants.
1
Use literals and named constants to simplify expressions (default).
2
Evaluate constant parameter expressions to simplify expressions.
3
Like -oc2 and additionally evaluate all constant expressions.

The option -sx can suppress checks. The checks x are specified with letters from the following list:

Suppress the generation of checks for integer division by zero.
Suppress the generation of index checks (e.g. string, array).
Suppress the generation of integer overflow checks.
Suppress the generation of range checks.

The option -tx can set the trace level. The trace levels x are specified with letters from the following list:

Trace dynamic calls
Trace exceptions and handlers
Trace functions
Trace signals

The option -wn can set the warning level to n. The following warning levels are supported:

0
Omit warnings.
1
Write normal warnings (default).
2
Write warnings for raised exceptions.

/usr/share/doc/seed7/manual.txt
Manual for the Seed7 programming language.
/usr/share/doc/seed7/manual.htm
HTML version of the Seed7 manual.
/usr/bin/s7c
The Seed7 compiler.
/usr/lib/seed7/lib
Directory of the include libraries.
/usr/lib/seed7/bin
Directory of the object libraries.

http://seed7.sourceforge.net

Seed7 was written by Thomas Mertes <thomas.mertes@gmx.at>.

This manual page was written by Thomas Mertes <thomas.mertes@gmx.at>.

s7(1)

September 12, 2023 Version 3.2

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.