http://www.mingw.org/

 

http://www.bloodshed.net/dev/devcpp.html

 

==============================================================================================================

 

gcc를 이용해서 윈도우즈에서 개발하시려는 분들에게 아주 좋은 툴입니다.
윈도우즈에서 gcc환경을 만드는 MinGW를 이용하는 툴입니다.

MinGW의 홈페이지는 http://www.mingw.org/ 입니다.

현재 버전은 2.05입니다.
팩키지로는 세가지가 있습니다.

1. MinGWStudioSetup-2.05.exe (914,824)

MinGW Developer Studio files only.
Windows resource editor. (Many thanks to Ketil Olsen)

2. MinGWStudioFullSetup-2.05.exe (26,633,338)

Files in packkage No. 1.
MinGW Developer Studio files
MinGW(C/C++ only) Compiler 3.4.2
Binutils 2.15.94
Windows32 API 3.2
MinGW Runtime Lirbraries 3.7
GNU Debugger(GDB) 6.0
GNU Make 3.80.0-3
Windows API Reference Manual

3. MinGWStudioFullSetupPlus-2.05.exe (126,132,592 !!)

Files in package No. 2.
Precompiled wxWidgets 2.6.0 libraries ,header files and its documentation.

세번째 팩키지가 첨부되어 있습니다.
팩키지 내에 MinGW의 주요 모듈이 포함되어 있으므로 MinGW를 별도로 설치하지 않아도 C/C++을 컴파일하고 사용하는데 지장이 없습니다.

안정적인 DNS서비스 DNSEver DNS server, DNS service
Posted by 키르히아이스
,

출처 : http://umaking.tistory.com/45

 

편하게 하려고 찾아보다가 구성하게된다.

1. GNUstep을 받는다.
    gnustep.org에서 받으면 된다.
       gnustep-system-0.24.0-setup.exe
       gnustep-core-0.23.1-setup.exe
    받았으면 순서대로 설치한다.

2. 도스 창에서 gcc를 쳐본다.
    윈도우의 CMD창을 띄워서 gcc -v  를 쳐본다.
    엔터 후 버젼 정보가 나오면 정상이다.

3. DEV-C++ 를 받는다.
    devcpp-4.9.9.2_nomingw_setup.exe
    mingw가 포함되지 않은 버젼을 받는다 .

4. DEV-C++를 실행한다.
   

    이런 Alert창이 나와도 무시한다.

    메뉴의 Tools > Compiler Options > Compiler 탭에 등록한다


          Add the following commands when calling compiler:
      를 체크하고
       아래에
          -lobjc -lgnustep-base -fconstant-string-class=NSConstantString -enable-auto-import
       복사해 넣는다.

          Add these commands to the linker command line:
       를 체크하고
       아래에
          -lobjc -lgnustep-base -fconstant-string-class=NSConstantString -enable-auto-import
       복사해 넣는다.


    메뉴의 Tools > Compiler Options > Directories 에서 각각의 탭에 다음을 등록한다.

    
    Binarites 탭
      C:\GNUstep\mingw\bin
      C:\GNUstep\bin

    Libraries 탭
      C:\GNUstep\mingw\lib
      C:\GNUstep\GNUstep\System\Library\Libraries

   C Includes 탭
      C:\GNUstep\mingw\include
      C:\GNUstep\GNUstep\System\Library\Headers

   C++ Includes 탭
      {난 아직 안서서 구성을 안했다, 알아서 구성하시길}


5. 이제 소스르 작성하고 컴파일을 해보자.
   컴파일 버튼 찾아서 꾹 눌러주자.


    실행이 된다 ㅎㅎ



6. 소스에 Highlighting 은 여기서 팁!
   메뉴의 Tools > Editor Optiones 를 선택하면 창이뜬다.
   아래쪽에보면 붉은색 부분에 m을 하나 추가해주고 'OK'를 클릭해주면 된다.


7. 하나 더, Debug를 해봅시다.
    메뉴의 Tools > Compiler Options > Compiler 탭 정보에


       -ggdb  옵션을 추가해서 gdb의 디버그를 활성화 해보도록 하자.
       (-g 옵션으로 멈춤 현상이 있을 수 있다. 꼭 -ggdb를 입력하세요)

       이제 소스(프로젝트)에 breakpoint 를 걸고, 짜잔 왼쪽 화면에 뭔가 보인다.
       몇번 해보면 알것이다.




참고로 Eclipse의 CDT-Plugin에서도 가능하다고 하며, 얼핏 MSYS, GDB를 받아서 설치하면 될것이라는데 안해봐서 잘은 모르겠네요.

안정적인 DNS서비스 DNSEver DNS server, DNS service
Posted by 키르히아이스
,

출처 : http://www.lug.or.kr/home/bbs/board.php?bo_table=cpp&page=1&wr_id=82

 

CodeLite - GCC IDE : GCC + WxWidets, Windows/Linux....

 

CodeLite is a powerful open-source, cross platform IDE for the C/C++ programming languages (build and tested on Windows XP SP3, (K)Ubuntu 8.04, and Mac OSX 10.5.2). CodeLite is distributed under the terms of the GPL license.


##########0*

##########1*

안정적인 DNS서비스 DNSEver DNS server, DNS service
Posted by 키르히아이스
,

출처 : http://superkkt.com/22?category=3

 

# SSH 접속 허용 IP
/sbin/iptables -A INPUT -s 221.139.98.23 -p tcp --dport 22 -j ACCEPT
/sbin/iptables -A INPUT -s 211.174.186.251 -p tcp --dport 22 -j ACCEPT
/sbin/iptables -A INPUT -s 210.123.94.230 -p tcp --dport 22 -j ACCEPT

# FTP Passive Mode 용 포트 (proftpd.conf에서 Passive Port 영역을 지정해야 함)
/sbin/iptables -A INPUT -p tcp --dport 61849:61859 -j ACCEPT

# 각종 서비스 포트
/sbin/iptables -A INPUT -p tcp --dport 20 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 21 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 25 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 53 -j ACCEPT
/sbin/iptables -A INPUT -p udp --dport 53 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 80 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 110 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --dport 3306 -j ACCEPT

# 서버에서 외부로 나가는 패킷 허용할 포트
/sbin/iptables -A INPUT -p tcp --sport 20 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --sport 21 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --sport 22 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --sport 25 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --sport 80 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --sport 37 -j ACCEPT
/sbin/iptables -A INPUT -p tcp --sport 113 -j ACCEPT

# 자기 자신으로부터 오는 패킷 모두 허용
/sbin/iptables -A INPUT -s 127.0.0.1 -p tcp --dport 1:65535 -j ACCEPT
/sbin/iptables -A INPUT -s 211.174.62.77 -p tcp --dport 1:65535 -j ACCEPT

# evada 서버로부터의 패킷 모두 허용
/sbin/iptables -A INPUT -s 61.251.162.242 -j ACCEPT

# 그 외 모든 패킷 필터링
/sbin/iptables -A INPUT -p tcp --dport 1:65535 -j DROP

안정적인 DNS서비스 DNSEver DNS server, DNS service
Posted by 키르히아이스
,