'cygwin'에 해당되는 글 2건

  1. 2017.01.22 MinGW-w64 install
  2. 2015.06.03 Clink - Powerful Bash-style command line
Programming2017. 1. 22. 07:54

공식 웹사이트는 여기지만 download받기 쉽지 않고.

http://mingw-w64.org/


SourceForge에서 다운받는것이 가장 간단함. 헐~

MinGW-w64 - for 32 and 64 bit Windows download | SourceForge.net

https://sourceforge.net/projects/mingw-w64/

-----------------

재밌는것은 윈도우에서 install할때 옵션이 재밌는데, 다른것은 친절하고 좋은것 같은데, thread를 win32를 지원한다는 것은 뭘까 궁금. WINE으로 win32 thread API를 지원할수 있다는 얘긴가? 그런다면 왜 option으로 뒀지? default로 둘다 다 지원하지. 이거 아닐것 같은데 뭘까.

Architecture i686=32bit, x86_x64=64bit

Thread posix or win32

Exception dwarf/sjlj, seh/sjlj


-----------------

Eclipse에다 추가할때는

Preference에다 MinGW bin PATH를 넣어줘야 toolset으로 인식합니다. default로 인식못할수도. default install path는.

C:\Program Files\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin


Then, add the PATH variable to eclipse:
1) you need to go "windows\preferences\c/c++\build\environment"
2) then just click Add...
3) Set fields with the next values:
Name: PATH
Value: C:\MinGW\bin
where "C:\MinGW\bin" is your real path where mingw binaries are stored. (to make sure that you set the right path just go to this directory and find gcc.exe or g++.exe. if you find it it's ok.)
4) Choose "Append variables to native environment"
5) Press "Apply" and then "OK"

Posted by 쁘레드
Programming2015. 6. 3. 03:03

윈도우 command line이 좀 dull하니까 이것을 리눅스의 bash 처럼하려는 시도인것 같습니다. cygwin도 좋은데 이것도 좋은 시도네요.

--------------


http://mridgers.github.io/clink/


Overview

Clink combines the native Windows shell cmd.exe with the powerful command line editing features of the GNU Readline library, which provides rich completion, history, and line-editing capabilities. Readline is best known for its use in the well-known Unix shell Bash, the standard shell for Mac OS X and many Linux distributions.

Features

  • The same line editing as Bash (from GNU’s Readline library).
  • History persistence between sessions.
  • Context sensitive completion;
    • Executables (and aliases).
    • Directory commands.
    • Environment variables
    • Thirdparty tools; Git, Mercurial, SVN, Go, and P4.
  • New keyboard shortcuts;
    • Paste from clipboard (Ctrl-V).
    • Incremental history search (Ctrl-R/Ctrl-S).
    • Powerful completion (TAB).
    • Undo (Ctrl-Z).
    • Automatic “cd ..” (Ctrl-Alt-U).
    • Environment variable expansion (Ctrl-Alt-E).
    • (press Alt-H for many more…)
  • Scriptable completion with Lua.
  • Coloured and scriptable prompt.
  • Auto-answering of the “Terminate batch job?” prompt.

Usage

There are a variety of ways to start Clink;

  1. If you installed the autorun option then simply start cmd.exe. Run clink autorun –help for more info.
  2. To manually start, run the Clink shortcut from the Start menu (or the clink.bat located in the install directory).
  3. To establish Clink to an existing cmd.exe process, use “<install_dir>\clink.exe inject”


Posted by 쁘레드