version 1.7, 2008/07/15 16:11:49
|
version 1.11, 2009/10/14 17:44:04
|
Line 32 set-current
|
Line 32 set-current
|
|
|
: libtool-cc ( -- c-addr u ) \ gforth |
: libtool-cc ( -- c-addr u ) \ gforth |
\G invocation string of the C compiler used for libtool |
\G invocation string of the C compiler used for libtool |
s" @CC@" ; |
s" @LIBTOOL_CC@" ; |
|
|
|
: libtool-flags ( -- c-addr u ) \ gforth |
|
\G force no undefined for cygwin |
|
[ s" @host_os@" s" cygwin" str= ] [IF] s" -no-undefined " |
|
[ELSE] s" " [THEN] ; |
|
|
|
\ test for the presence of libffi or ffcall |
|
@FFCALLFLAG@ constant ffcall-present \ libffi present (on building) |
|
@LIBFFIFLAG@ constant libffi-present \ ffcall libs present (on building) |
|
|
|
: include-ffi.h-string ( -- c-addr u ) |
|
s" #include <@FFI_H_NAME@>" ; |
|
|