alien.inline.compile: compiler: use eg++ on openbsd

db4
Jeremy Hughes 2009-07-09 14:03:35 +12:00
parent f93e7dd859
commit 5b46a22297
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 ;