This is an error for generating dylib files with g++. I don't think it's necessary or even possible to generate dylib file with g++, but I just found a way to remove the error. I didn't check if the generated dylib works well. I could get the static library files without a problem, so it will be OK to use the libraries with g++4.8.
The issue is that there are many options that g++ cannot recognize: -h -B -R when building dylib file. If you just want the static library, you can get them.
I had to modify the gcc.jam file not to give the options.
From .../tools/build/v2/tools/gcc.jam
Uncomment the code that generates wrong options.
Line 855-858 to remove the -B option
# toolset.flags $(toolset).link FINDLIBS-ST-PFX
# $(condition)/<runtime-link>shared : -Wl,-Bstatic : unchecked ;
# toolset.flags $(toolset).link FINDLIBS-SA-PFX
# $(condition)/<runtime-link>shared : -Wl,-Bdynamic : unchecked ;
Line 815-820 to remove the -R option
#toolset.flags $(toolset).link OPTIONS $(condition)/<strip>on : -Wl,--strip-all : unchecked ;
#toolset.flags $(toolset).link RPATH $(condition) : <dll-path> : unchecked ;
#toolset.flags $(toolset).link RPATH_LINK $(condition) : <xdll-path> : unchecked ;
#toolset.flags $(toolset).link START-GROUP $(condition) : -Wl,--start-group : unchecked ;
#toolset.flags $(toolset).link END-GROUP $(condition) : -Wl,--end-group : unchecked ;
Line 479 to remove -h option
#SONAME_OPTION = -h ;