It will be great if I get setps or jamfile samples to build MFC application with bjam.
 
I am getting following error when I compile code wiht bjam.  How I can change subsytem from console to windows in jamfile?
 
 
 
msvcrtd.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
..\bin\msvc-8.0\debug\threading-multi\hello.exe : fatal error LNK1120: 1 unresolved externals
 
        call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86 >nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"..\bin\msvc-8.0\debug\threading-multi\hello.exe"   @"..\bin\msvc-8.0\debug\threading-multi\hello.exe.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
        if exist "..\bin\msvc-8.0\debug\threading-multi\hello.exe.manifest" (
            mt -nologo -manifest "..\bin\msvc-8.0\debug\threading-multi\hello.exe.manifest" "-outputresource:..\bin\msvc-8.0\debug\threading-multi\hello.exe;1"
        )
 
...failed msvc.link ..\bin\msvc-8.0\debug\threading-multi\hello.exe...