Scriptol to native compiler
(c) 2002 by Denis G Sureau
http://www.scriptol.com
http://www.scriptol.net


Overwiew

 This archive contains the solc Scriptol to native compiler. A scriptol program
may be interpreted by the Php interpreter thanks to the Scriptol to Php compiler,
and with the program here included, it may be also compiled either to C++ or
directly as an executable.
 The mingw or any other C++ compiler must be installed, under Windows, and GCC
under Unix.


Installing the compiler

 Once the archive is extracted into the solcpp directory, you have just to
change to this directory to run the compiler.
 You need a c++ compiler installed for your program compiled as an executable
in a second pass. You can download mingw at:  http://www.mingw.org
 Before to use the compiler, you have to read the licence, in the header of
the libsol.hpp (or on the scriptol site).


Using the compiler

Just type:
    solc yoursource

 Type "solc" only to list the options.
 If your program is a multi-file project, the source given as parameter must be
the main source file, the compiler will build dependencies from "include"
statements and will build what is needed.


Configuring

 By editing the solc.ini file, you may change the second pass compiler (you may
have to rebuild the libsol.a library for this compiler), change the options of
the compiler or add header files to include.
 To add header files, just add "header=someheader.hpp" lines into the config
file.
 A xxx.cfg file may be written for each project main source beeing xxx, and if
present it overloads the solc.ini file.

Need more details? Read the faq file on the Scriptol site:
 http://www.scriptol.com
or send your questions from this page on the site.

