$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-build] [wince] Building Boost for Windows CE... some progress and problems...
From: David Deakins (ddeakins_at_[hidden])
Date: 2009-06-16 10:43:44
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