Merge branch 'inlinec' into marshall

* inlinec:
  alien.inline.compile: compiler: use eg++ on openbsd
db4
Jeremy Hughes 2009-07-09 14:03:59 +12:00
commit e56617cc05
1 changed files with 9 additions and 1 deletions

View File

@ -27,12 +27,20 @@ SYMBOL: C++
{ C++ [ ".cpp" ] }
} case ;
: compiler ( lang -- str )
HOOK: compiler os ( lang -- str )
M: word compiler ( lang -- str )
{
{ C [ "gcc" ] }
{ C++ [ "g++" ] }
} case ;
M: openbsd compiler ( lang -- str )
{
{ C [ "gcc" ] }
{ C++ [ "eg++" ] }
} case ;
HOOK: compiler-descr os ( lang -- descr )
M: word compiler-descr compiler 1array ;