Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-1266

Windows port

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.4.0
    • Component/s: None
    • Labels:

      Description

      Currently, these changes are based onto of my earlier pull request. Let me know if you like me to rebase after the first pull request is merged.

      Add SCons support for building wildtiger.lib & wt.exe

      Checked in a special header called os_win_wiredtiger_config.h since scons cannot generate the autotools config.h header

      Added:

      os_win directory full of Windows OS versions of WT OS compat layer
      os_windows.h for Windows (windows.h is already reserved by the OS)
      msvc.h for the compiler

      In terms of preprocessor defines,
      _WIN32 is Windows
      _MVC_VER is the Microsoft Visual C compiler

      Test framework update will be sent in a separate pull request

      I will happy to address any KNF style issues myself. I tried to

      Two hacky changes:
      1. err.c - I inlined the ifdefs into this file for Windows
      2. filename.c - I also inlined the platform ifdefs into this file

      Todos left

      fallocate, and dlopen for standalone dlls
      crc intrinsic support

        Attachments

          Activity

            People

            Assignee:
            keith.bostic Keith Bostic
            Reporter:
            mark.benvenuto Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: