Windows CE 5.0 的构建增强

发布于 2024-09-14 17:58:54 字数 334 浏览 7 评论 0原文

有人有一套关于构建在 Windows CE 上使用的 boost 库的说明吗?我发现了一些关于它的讨论:

boost build 邮件列表

以及 boost 构建邮件列表中的另一个

.. .但肯定有人写了更具体的东西......

Does anyone have a set of instructions for building boost libraries for use on Windows CE? I've found some discussions on it:

boost build mailing list

and another one from the boost build mailing list

... but surely someone has written up something more concrete...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

黑寡妇 2024-09-21 17:58:54

这里似乎有批处理文件的源< /a> 为 CE 构建它们。

编辑

我对这么长的帖子表示歉意,但如果链接再次失效,这里是批处理文件:

    @SET VCINSTALLDIR=%VS9INSTALLDIR%\VC 
    @if "%VS9INSTALLDIR%"=="" goto error_no_VSINSTALLDIR 
    @if "%VCINSTALLDIR%"=="" goto error_no_VCINSTALLDIR 

    @echo Setting environment for using Microsoft Visual Studio 2008 tools for WM5. 
    @set TARGETCPU=X86 

    @call :GetWindowsSdkDir 

    @if not "%WindowsSdkDir%" == "" ( 
            set "PATH=%WindowsSdkDir%bin;%PATH%" 
    ) 

    @rem 
    @rem Root of Visual Studio IDE installed files. 
    @rem 
    @set DevEnvDir=%VS9INSTALLDIR%\Common7\IDE 

    @set PATH=%VCINSTALLDIR%\CE\bin\x86_arm;%VCINSTALLDIR%\bin;%VS9INSTALLDIR%\Common7\Tools;%DevEnvDir%;%VS9INSTALLDIR%\Common\Tools;%VS9INSTALLDIR%\Common\IDE;%VS9INSTALLDIR%;%PATH%
     @set INCLUDE=%STLPORT_PATH%\STLPort-5.2.1\stlport;%VCINSTALLDIR%\ce\include;%CETOOLS%\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I;%CETOOLS%\Windows Mobile 5.0 Pocket PC SDK\include;%VCINSTALLDIR%\ce\atlmfc\include
     @set LIB=%STLPORT_PATH%\STLPort-5.2.1\lib\evc9-arm;%CETOOLS%\Windows Mobile 5.0 Pocket PC SDK\lib\ARMV4I;%VCINSTALLDIR%\ce\ATLMFC\LIB\ARMV4I;%VCINSTALLDIR%\ce\LIB\ARMV4I
     @set LIBPATH= 

    @goto end 

    :GetWindowsSdkDir 
    @call :GetWindowsSdkDirHelper HKLM > nul 2>&1 
    @if errorlevel 1 call :GetWindowsSdkDirHelper HKCU > nul 2>&1 
    @if errorlevel 1 set WindowsSdkDir=%VCINSTALLDIR%\PlatformSDK\ 
    @exit /B 0 

    :GetWindowsSdkDirHelper 
    @for /F "tokens=1,2*" %%i in ('reg query "%1\SOFTWARE\Microsoft\Microsoft SDKs\Windows" /v "CurrentInstallFolder"') DO (
             if "%%i"=="CurrentInstallFolder" ( 
                    SET "WindowsSdkDir=%%k" 
            ) 
    ) 
    @if "%WindowsSdkDir%"=="" exit /B 1 
    @exit /B 0 


    :error_no_VSINSTALLDIR 
    @echo ERROR: VS9INSTALLDIR variable is not set. 
    @goto end 

    :error_no_VCINSTALLDIR 
    @echo ERROR: VCINSTALLDIR variable is not set. 
    @goto end 

    :end 

    @SET VCINSTALLDIR=%VS9INSTALLDIR%\VC 
    @SET FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework 
    @SET FrameworkVersion=v2.0.50727 
    @SET Framework35Version=v3.5 
    @if "%VS9INSTALLDIR%"=="" goto error_no_VSINSTALLDIR 
    @if "%VCINSTALLDIR%"=="" goto error_no_VCINSTALLDIR 

    @echo Setting environment for using Microsoft Visual Studio 2008 x86 tools with STLport-5.2.1.

    @call :GetWindowsSdkDir 

    @if not "%WindowsSdkDir%" == "" ( 
            set "PATH=%WindowsSdkDir%bin;%PATH%" 
            set "INCLUDE=%WindowsSdkDir%include;%INCLUDE%" 
            set "LIB=%WindowsSdkDir%lib;%LIB%" 
    ) 


    @rem 
    @rem Root of Visual Studio IDE installed files. 
    @rem 
    @set DevEnvDir=%VS9INSTALLDIR%\Common7\IDE 

    @set PATH=%DevEnvDir%;%VCINSTALLDIR%\BIN;%VS9INSTALLDIR%\Common7\Tools;%FrameworkDir%\%Framework35Version%;%FrameworkDir%\%FrameworkVersion%;%VCINSTALLDIR%\VCPackages;%PATH%
     @set INCLUDE=%STLPORT_PATH%\STLport-5.2.1\stlport;%VCINSTALLDIR%\ATLMFC\INCLUDE;%VCINSTALLDIR%\INCLUDE;%INCLUDE%
     @set LIB=%STLPORT_PATH%\STLport-5.2.1\lib\vc9;%VCINSTALLDIR%\ATLMFC\LIB;%VCINSTALLDIR%\LIB;%LIB%
     @set LIBPATH=%FrameworkDir%\%Framework35Version%;%FrameworkDir%\%FrameworkVersion%;%VCINSTALLDIR%\ATLMFC\LIB;%VCINSTALLDIR%\LIB;%LIBPATH%

    @goto end 

    :GetWindowsSdkDir 
    @call :GetWindowsSdkDirHelper HKLM > nul 2>&1 
    @if errorlevel 1 call :GetWindowsSdkDirHelper HKCU > nul 2>&1 
    @if errorlevel 1 set WindowsSdkDir=%VCINSTALLDIR%\PlatformSDK\ 
    @exit /B 0 

    :GetWindowsSdkDirHelper 
    @for /F "tokens=1,2*" %%i in ('reg query "%1\SOFTWARE\Microsoft\Microsoft SDKs\Windows" /v "CurrentInstallFolder"') DO (
             if "%%i"=="CurrentInstallFolder" ( 
                    SET "WindowsSdkDir=%%k" 
            ) 
    ) 
    @if "%WindowsSdkDir%"=="" exit /B 1 
    @exit /B 0 

    :error_no_VSINSTALLDIR 
    @echo ERROR: VSINSTALLDIR variable is not set. 
    @goto end 

    :error_no_VCINSTALLDIR 
    @echo ERROR: VCINSTALLDIR variable is not set. 
    @goto end 

    :end 

There looks to be the source for a batch file here that builds them for CE.

EDIT

I apologize for the long post, but in case the link goes dead again, here's the batch file:

    @SET VCINSTALLDIR=%VS9INSTALLDIR%\VC 
    @if "%VS9INSTALLDIR%"=="" goto error_no_VSINSTALLDIR 
    @if "%VCINSTALLDIR%"=="" goto error_no_VCINSTALLDIR 

    @echo Setting environment for using Microsoft Visual Studio 2008 tools for WM5. 
    @set TARGETCPU=X86 

    @call :GetWindowsSdkDir 

    @if not "%WindowsSdkDir%" == "" ( 
            set "PATH=%WindowsSdkDir%bin;%PATH%" 
    ) 

    @rem 
    @rem Root of Visual Studio IDE installed files. 
    @rem 
    @set DevEnvDir=%VS9INSTALLDIR%\Common7\IDE 

    @set PATH=%VCINSTALLDIR%\CE\bin\x86_arm;%VCINSTALLDIR%\bin;%VS9INSTALLDIR%\Common7\Tools;%DevEnvDir%;%VS9INSTALLDIR%\Common\Tools;%VS9INSTALLDIR%\Common\IDE;%VS9INSTALLDIR%;%PATH%
     @set INCLUDE=%STLPORT_PATH%\STLPort-5.2.1\stlport;%VCINSTALLDIR%\ce\include;%CETOOLS%\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I;%CETOOLS%\Windows Mobile 5.0 Pocket PC SDK\include;%VCINSTALLDIR%\ce\atlmfc\include
     @set LIB=%STLPORT_PATH%\STLPort-5.2.1\lib\evc9-arm;%CETOOLS%\Windows Mobile 5.0 Pocket PC SDK\lib\ARMV4I;%VCINSTALLDIR%\ce\ATLMFC\LIB\ARMV4I;%VCINSTALLDIR%\ce\LIB\ARMV4I
     @set LIBPATH= 

    @goto end 

    :GetWindowsSdkDir 
    @call :GetWindowsSdkDirHelper HKLM > nul 2>&1 
    @if errorlevel 1 call :GetWindowsSdkDirHelper HKCU > nul 2>&1 
    @if errorlevel 1 set WindowsSdkDir=%VCINSTALLDIR%\PlatformSDK\ 
    @exit /B 0 

    :GetWindowsSdkDirHelper 
    @for /F "tokens=1,2*" %%i in ('reg query "%1\SOFTWARE\Microsoft\Microsoft SDKs\Windows" /v "CurrentInstallFolder"') DO (
             if "%%i"=="CurrentInstallFolder" ( 
                    SET "WindowsSdkDir=%%k" 
            ) 
    ) 
    @if "%WindowsSdkDir%"=="" exit /B 1 
    @exit /B 0 


    :error_no_VSINSTALLDIR 
    @echo ERROR: VS9INSTALLDIR variable is not set. 
    @goto end 

    :error_no_VCINSTALLDIR 
    @echo ERROR: VCINSTALLDIR variable is not set. 
    @goto end 

    :end 

    @SET VCINSTALLDIR=%VS9INSTALLDIR%\VC 
    @SET FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework 
    @SET FrameworkVersion=v2.0.50727 
    @SET Framework35Version=v3.5 
    @if "%VS9INSTALLDIR%"=="" goto error_no_VSINSTALLDIR 
    @if "%VCINSTALLDIR%"=="" goto error_no_VCINSTALLDIR 

    @echo Setting environment for using Microsoft Visual Studio 2008 x86 tools with STLport-5.2.1.

    @call :GetWindowsSdkDir 

    @if not "%WindowsSdkDir%" == "" ( 
            set "PATH=%WindowsSdkDir%bin;%PATH%" 
            set "INCLUDE=%WindowsSdkDir%include;%INCLUDE%" 
            set "LIB=%WindowsSdkDir%lib;%LIB%" 
    ) 


    @rem 
    @rem Root of Visual Studio IDE installed files. 
    @rem 
    @set DevEnvDir=%VS9INSTALLDIR%\Common7\IDE 

    @set PATH=%DevEnvDir%;%VCINSTALLDIR%\BIN;%VS9INSTALLDIR%\Common7\Tools;%FrameworkDir%\%Framework35Version%;%FrameworkDir%\%FrameworkVersion%;%VCINSTALLDIR%\VCPackages;%PATH%
     @set INCLUDE=%STLPORT_PATH%\STLport-5.2.1\stlport;%VCINSTALLDIR%\ATLMFC\INCLUDE;%VCINSTALLDIR%\INCLUDE;%INCLUDE%
     @set LIB=%STLPORT_PATH%\STLport-5.2.1\lib\vc9;%VCINSTALLDIR%\ATLMFC\LIB;%VCINSTALLDIR%\LIB;%LIB%
     @set LIBPATH=%FrameworkDir%\%Framework35Version%;%FrameworkDir%\%FrameworkVersion%;%VCINSTALLDIR%\ATLMFC\LIB;%VCINSTALLDIR%\LIB;%LIBPATH%

    @goto end 

    :GetWindowsSdkDir 
    @call :GetWindowsSdkDirHelper HKLM > nul 2>&1 
    @if errorlevel 1 call :GetWindowsSdkDirHelper HKCU > nul 2>&1 
    @if errorlevel 1 set WindowsSdkDir=%VCINSTALLDIR%\PlatformSDK\ 
    @exit /B 0 

    :GetWindowsSdkDirHelper 
    @for /F "tokens=1,2*" %%i in ('reg query "%1\SOFTWARE\Microsoft\Microsoft SDKs\Windows" /v "CurrentInstallFolder"') DO (
             if "%%i"=="CurrentInstallFolder" ( 
                    SET "WindowsSdkDir=%%k" 
            ) 
    ) 
    @if "%WindowsSdkDir%"=="" exit /B 1 
    @exit /B 0 

    :error_no_VSINSTALLDIR 
    @echo ERROR: VSINSTALLDIR variable is not set. 
    @goto end 

    :error_no_VCINSTALLDIR 
    @echo ERROR: VCINSTALLDIR variable is not set. 
    @goto end 

    :end 
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文