一通りの機能を網羅した GCC フロントエンドを作っていきます.
コンパイルには gcc 本体のソース (4.x 以降) が必要です.
開発ブログ : http://alohakun.blog7.fc2.com/blog-category-35.html
This version sample gcc frontend can compile in gcc-core-4.3.0 or maybe latter (but very unstable !!)
test environment : gcc-4.3.0 only
Install example :
$ tar jxvf gcc-core-4.3.0.tar.bz2
$ tar jxvf bl-0.0.1-for-gcc-4.3.0.tar.bz2
$ mv bl gcc-4.3.0/gcc/
$ mkdir bl-build
$ mv bl-build
$ ../gcc-4.3.0/configure --prefix=/usr/local/build-gcc --enable-languages=bl --enable-checking=tree
$ make && make install
To support gcc 4.3.0, mostly code were contributed by SATO daisuke (QLeap).
for init builtin types and functions :
(mostly code from the c crontend)
bl.h, bl-builtins.c, and modified Make-lang.in