« Return to Thread: [wince] Building Boost for Windows CE... some progress and problems...

Re: [wince] Building Boost for Windows CE... some progress and problems...

by David Deakins :: Rate this Message:

Reply to Author | View in Thread

Andy Schweitzer wrote:
>
> Commenting out the stlport statement makes it pick up the second one...
> but then that fails to link to WinMain. In fact it just has main, not
> WinMain. it seems like other extensions might be necessary to make the
> test work in CE. Is this a known issue?
>

In order to get the console tests to link properly for WinCE, some
additional machinery is required.  You want the link command line to
include the additional /entry:mainACRTStartup option to say that it
should look for main and not WinMain as the entry point.  I do this with
the following statement at the end of my user-config.jam:

project
: requirements
<toolset>msvc-9.0~wm5~stlport5.2,<user-interface>console:<linkflags>/entry:mainACRTStartup
;

-Dave

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

 « Return to Thread: [wince] Building Boost for Windows CE... some progress and problems...