|# # end::doc[]
#
-# Boost.Build V2 toolset for the IBM XL C++ compiler
+# B2 V2 toolset for the IBM XL C++ compiler
#
import toolset : flags ;
# Configure the vacpp toolset
rule init ( version ? : command * : options * )
{
- local condition = [
+ local condition = [
common.check-init-parameters vacpp : version $(version) ] ;
-
+
command = [ common.get-invocation-command vacpp : xlC
: $(command) : "/usr/vacpp/bin/xlC" ] ;
-
+
common.handle-options vacpp : $(condition) : $(command) : $(options) ;
}
actions vacpp.link.dll bind NEEDLIBS
{
- xlC_r -G $(LINKFLAGS) -o "$(<[1])" $(HAVE_SONAME)-Wl,-soname$(SPACE)-Wl,$(<[-1]:D=) -L$(LIBPATH) -L$(STDLIBPATH) "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" -l$(FINDLIBS) $(OPTIONS) $(USER_OPTIONS)
+ xlC_r -G $(LINKFLAGS) -o "$(<[1])" $(HAVE_SONAME)-Wl,-soname$(SPACE)-Wl,$(<[-1]:D=) -L$(LIBPATH) -L$(STDLIBPATH) "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" -l$(FINDLIBS) $(OPTIONS) $(USER_OPTIONS)
}
actions vacpp.compile.c