Skip to content

Cygwin/Mingw compiling instructions #15

@evgeny-gridasov

Description

@evgeny-gridasov

Could you please include instructions how to compile it under cygwin / mingw? I've just managed to compile it under cygwin + mingw x64 and it works fine. Someone may not be allowed to download .exe binaries but may be able to compile them. Steps to build:

  1. Install mingw64-x86_64-gcc-core ang mingw64-x86_64-gcc-g++ packages using setup_x86_64.exe cygwin installer.

  2. Download cmdow sources and cd into cmdow directory. Then run:

$ x86_64-w64-mingw32-g++ -static -fpermissive *cpp -o cmdow
[... gives you some warnings but compiles ok...]
$ x86_64-w64-mingw32-strip.exe cmdow.exe
$ ./cmdow.exe /?
CMDOW [Version 1.4.8] Win32 Commandline Window Utility for NT4/2000/XP/7.
(C) Copyright 2001-2014 Ritchie Lawrence, http://www.commandline.co.uk.

  CMDOW [window | /T] [/B] [/F] [/P]
  CMDOW /TH | /TV | /MA | /CW | /UW | /AT | /FS | /WM
  CMDOW window {[/ACT] [/INA] [/ENA] [/DIS] [/VIS] [/HID] [/MIN] [/MAX] [/RES]
        [/REN caption] [/TOP] [/NOT] [/MOV left top] [/SIZ width height] [/CLS]
        [/END]}
  CMDOW /RUN [state] file [args]
[... rest of output skipped ...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions