'MinGW'에 해당되는 글 2건

  1. 2017.01.22 MinGW-w64 install
  2. 2015.10.17 Eclipse for C/C++
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. 10. 17. 07:13

(계속수정중)


Eclipse download

http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/mars1

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

Download MinGW

http://sourceforge.net/projects/mingw/?source=typ_redirect

c/c++ 관련된것만 download 함.

Default : C:\MinGW

Windows Path = C:\MinGW\bin

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

MinGW Distro

http://nuwen.net/mingw.html

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

MinGW w64

http://mingw-w64.org/doku.php

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

EClipse에서 수정

Preference ->C/C++ ->New C/C++ Project Wizard -> Makefile project

Binary Parsers = GNU Elf Parser

Builder Settings = Build commnad = mingw32-make.exe


EClipse

MINGW_HOME = C:\MinGW

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

CTRL + B : build


F11 : Debug

F5 : step into

F6 : step over

F7: step to return

CRTL+R : run to cursor


'Programming' 카테고리의 다른 글

C++ reference link  (0) 2015.10.31
C언어 레퍼런스  (0) 2015.10.25
Python - Lottery number generator  (0) 2015.10.15
Internet of Things(IOT) Programming  (0) 2015.10.13
Drupal Web Application Packages  (0) 2015.10.02
Posted by 쁘레드