Giter Club home page Giter Club logo

cmsc's Introduction

Custom Microsoft Compiler Toolkit Compilation

Based on the VC from DDK 7.1.0 (cl 15.00.30729.207)

VS2008's cl is 15.00.21022.08, so this seems like the same compiler generation.

Directory layout:

 <Top Directory>
    +--bin
    |   +--1033
    |   +--amd64
    |   +--i386
    |   +--ia64
    +--include
    |   +--atl
    |   +--crt
    |   |   +--sys
    |   +--gl
    |   +--mfc
    +--lib
        +--amd64
        +--i386
        +--ia64

See tools\README.txt for dependencies and versions

Invoking

Open command promt in project target and call

 c:> \<cmsc root>\setenv.bat /<cpu>

 Where <cpu> can be:
 /x86 | /i386 for Windows32
 /x64 | /amd64 | /emt64 | /x86_64 For Windows64
 /i64 | /ia64 for Windows64 on Itanium

This will set up required paths for binaries, include and lib files. It will also set EXTRA_LIBS environment variable with the value msvcrt_compat.lib msvcrt_compat.obj

Important

Make sure those two files are linked to every .dll or .exe produced by this toolkit. The easiest is to add $(EXTRA_LIBS) to link task in Makefile.

Warning

Toolkit cannot be used for producing DEBUG builds because there is no system msvcrtd.dll. Trying to compile with the /MDd compiler option will produce unusable builds, because of missing stubs. For debugging purposes use the compiler that comes with Visual Studio.

cmsc's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.