gambas-source-code/gb.jit
Benoît Minisini d860a7a53c [DEVELOPMENT ENVIRONMENT]
* NEW: Add a menu item in the "Debug" menu to define ine one click if an 
  embedded HTTP server must be used.
* NEW: The 'gb.httpd' component can be checked explicitely.
* BUG: Fix the local variable view when they are displayed in columns.

[WIKI CGI SCRIPT]
* NEW: The indexes are more compact now.

[INTERPRETER]
* NEW: The option '-H' is assumed if the project depends on the 'gb.httpd' 
  component explicitely.

[GB.FORM]
* BUG: Balloon: Fix the bubble drawing routine.
* NEW: The GB_STOCK_DEBUG environment variable must be used now instead of 
  the GB_STOCK variable.

[GB.HTTPD]
* BUG: Many fixes in CGI handling if the project is in debugging mode.
* NEW: Replace "thttpd" strings by "gb.httpd".
* NEW: Simplify the default HTML error page.
* NEW: If the GB_HTTPD_DEBUG environment variable is set to "1", then all
  HTTP server debugging messages are printed to the standard error. 
  Otherwise, nothing is printed.


git-svn-id: svn://localhost/gambas/trunk@5769 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-02 21:57:49 +00:00
..
src [DEVELOPMENT ENVIRONMENT] 2013-08-02 21:57:49 +00:00
acinclude.m4
AUTHORS
ChangeLog
component.am
configure.ac [GB.JIT] 2013-06-13 11:35:45 +00:00
COPYING
gambas.h
gb_common.h
INSTALL
m4
Makefile.am
missing
NEWS
README [CONFIGURATION] 2012-05-23 21:35:58 +00:00
reconf

You should use the latest version of LLVM. To check it out, run:

svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
cd llvm
mkdir build
cd build
../configure --prefix=/usr --enable-optimized --enable-jit --enable-shared
make -j4
sudo make install

You might need to edit the configure.ac file in order to set the llvm
location settings appropriate, followed by ./reconf.

To enable the JIT for all functions in a Gambas class, add the word "Fast"
on a separate line at the top of the class file. The functions will then be
JIT compiled to native machine code, instead of letting the interpreter to
run it, if gb.jit is available.