ãµã¤ãã®æ¶æ» ã¨æ«å®å¾©æ´»
æ http://cefiro.homelinux.org/ ã¨ãã URL ã§å ¬éãã¦ãããµã¤ãããã£ãããã¡ã¤ã³å¤±å¹ãã¦ãã¾ã£ã¦æ¶æ» ãã¦ãã¾ããã
ã¨ããããæ°è¦ã«ãã¡ã¤ã³ãåå¾ã㦠http://routine-work.info/ ã§æ«å®å¾©æ´»ãã¦ããã¾ããã
ããæ©ä¼ãªã®ã§å¾ã§å 容ãä¿®æ£ããããããã¾ããâ¦
ãã¤ã®éã«ã Cygwin ã® 64bit çããªãªã¼ã¹ããã¦ã
æè¿ cygwin ã® setup.exe ã«ããããã±ã¼ã¸æ´æ°ã失æãããªãã¨ãæããªããããã£ã¨æ¾ç½®ãã¦ãã¾ããããããã«ã¡ãã£ã¨èª¿ã¹ã¦ã¿ããã¨æã£ã¦ Cygwin ãã¿ã¦ã¿ãããã¤ã®éã«ã Cygwin ã® 64bit çããªãªã¼ã¹ããã¦ããã
ã©ããããã«åããã¦ã¤ã³ã¹ãã¼ã©ã2種é¡ã«åããã¦ãããã±ã¼ã¸ãªãã¸ããªã®ãã£ã¬ã¯ããªæ§æãå¤æ´ã«ãªã£ããããã
ç¨®é¡ | ã¤ã³ã¹ãã¼ã© | ãªãã¸ããªã®ä¾ |
æ§32bit | setup.exe | ftp://ftp.jaist.ac.jp/pub/cygwin/ |
æ°32bit | setup-x86.exe | ftp://ftp.jaist.ac.jp/pub/cygwin/x86/ |
æ°64bit | setup-x86_64.exe | ftp://ftp.jaist.ac.jp/pub/cygwin/x86_64/ |
æ§32bitã®ãªãã¸ããªã®ãã¹ããããã±ã¼ã¸æ å ±ããããããã¡ã¤ã«ã§ãã setup.ini ãåå¾ã§ããªããªã£ããããsetup.exe ã§ã®ããã±ã¼ã¸æ´æ°ãã§ããªããªã£ãã¨ãããã¨ã¿ããã
対å¿ã¨ãã¦ã¯ä»¥ä¸ã®2ãã¿ã¼ã³ã
- æ§32bit Cygwin ã setup-x86.exe ã使ã£ã¦æ´æ°ãã
- setup-x86_64.exe ã使ã£ã¦æ°ãã 64bit Cygwin ç°å¢ãæ§ç¯
1. ã¯ãã£ã¨ãç°¡åãªæ¹æ³ã§ãã32bit Cygwin ã¯æ°æ§ã¨ãã«åºæ¬çã«åããã®ãªã®ã§ã¤ã³ã¹ãã¼ã©ã ãæ°ãããã¦å ã®ç°å¢ããã®ã¾ã¾ç¶ç¶ãã¦ä½¿ãã¾ãã
2. 㯠64bit Cygwin ç°å¢ãæåããæ§ç¯ããªããã£ã¦ãã¨ã§ãã setup-x86_64.exe ã¯ããã©ã«ã㧠C:\Cygwin64 ã¨ãããã£ã¬ã¯ããªã« ã¤ã³ã¹ãã¼ã«ãã¾ãããã¼ã ãã£ã¬ã¯ããªãå«ãã¦å¥ç°å¢ã«ãªãã®ã§ å®å ¨ã«ç°å¢ãä½ãç´ããã¨ã«ãªãã¾ãã
32bit Cygwin 㨠64bit Cygwin ã¯ä¸¡æ¹ç¬ç«ãã¦ã¤ã³ã¹ãã¼ã«ãããã¨ãã§ããã¿ãããªã®ã§ãå½é¢ 32bit ç°å¢ã使ãã¤ã¤ 64bit ç°å¢ã 試ãã¦ã¿ãæ¹æ³ããããããã§ãã
Cygwin éè¯ãªãã¸ããª
ã¤ã³ã¹ãã¼ã©ã®ä»æ§å¤æ´ã«ããéè¯ãªãã¸ããªã®ãã£ã¬ã¯ããªæ§æãå¤æ´ããå¿ è¦ãããã£ã¦ãã¨ã§ãã
èªåã§ä½ã£ã¦ãã以ä¸ã®ãªãã¸ããªã対å¿ããªãã¨ãããªãâ¦
ã¨ããããã·ã³ããªãã¯ãªã³ã¯ã§å¯¾å¿ãããâ¦
å¯è½ãªã 32bit ç㨠64bit ç両æ¹ã®ããã±ã¼ã¸ãç¨æããã®ããããã§ããããã©ããªããªãé¢åã§ããâ¦
æè¡æ¸ãèªãã ãæ¸ãããã°
ãã®ããã°ã¯æè¡æ¸ãèªãã ãæ¸ãããã°ã§ãã
 ããã°ãæ¸ããªããªããã¿ã¼ã³ã¨ãã¦ããã¿ããªããªãã¨æ¸ããªããªã£ã¦ãã¾ã£ã¦ãæ¸ããªãæéãããç¨åº¦é·ããªãã¨ããã¿ããã£ã¦ãä½ã¨ãªãæ¸ãé£ãæãã«ãªã£ã¦ãã¾ããã¨ããã®ãããã¾ããæ¸ããªãããæ¸ãè¾ããªãã¨ããã¨ããè² ã®ã¹ãã¤ã©ã«ã§ããã
 ããã§èãã¾ãããããã°ãæ¸ãããªã¬ã¼ãè¨å®ããã°ããããããªããã¨ããä½ã ããããæ¸ããã¨ããæ¡ä»¶è¨å®ããã¦ãããç¿æ £åããã°å°ãã¯ããã°è¨äºãæ¸ãããããªãããããªãã ãããï¼
 ã¨ãããã¨ã§ããã®ããã°ã¯æè¡æ¸ãèªãã æã«ããã®æ¬ã«ã¤ãã¦æ¸ãããã°ã§ãã
2012å¹´ç·æ¬ã¨ã
å¹´ãæãã¦ããã§ãªãã ãã©2012å¹´ã®ç·æ¬ã¨ãããã¾ã¨ãããã¨ããã¾ãã¦ããã§ã¨ããããã¾ãã
è¦ãã¨ããåã«æ¥è¨æ¸ããã®ã¯ 2011å¹´12æ31æ¥ã ã£ããè¦ããã«2012å¹´ã«ã¯ä½ãæ¸ãã¦ãªãã
ã¤ã¾ãã2012å¹´ã¨ã¯ãããªå¹´ã ã£ãã¨ãããã¨ã ã
# ã¡ãã£ã¨åçãã¦ã¾ãâ¦
å¯æ£æ
æ¨å¹´æ«ã®12æ29æ¥ããå®å®¶ã«å¸°çãã¦ãã¾ããããå®å
¨ã«å¯æ£æã§ããã
å
·ä½çã«ã¯ä»¥ä¸ã®ãããªæãâ¦
- 12/29 å¤æ¹ã«å¸°çã
- 12/30 ä½èª¿ãæªãã¦åæ¥ãããå¯ã¦ããå¤æ¹ããé«ç±ãæé«ã§39.2度ãå¯ãã
- 12/31 å¤æ¹ã«ã¯38度ååãããã«ãä¸æ¥å¯ãã
- 1/1 37度å°ã«ãªã£ã¦ã ãã¶åããããã«ãªã£ã¦ãããTVãè¦ããå¯ããã
- 1/2 ç±ã¯å¹³ç±ã«ãªã£ããã©è©ããèä¸ããããçãããã¨è¸ã«å§è¿«æããã£ã¦æ¯è¦ãããã¨ããããå¯ã¦ããã
- 1/3 çã¿ãæ¯è¦ããã¯ã ãã¶æ¥½ã«ãä¸å¿å¤§äºãåã£ã¦å¯ãã
ãããªæãã§å¹´æ«å¹´å§ãçµããã¾ããâ¦
ä½ãããªãå¹´ã ã£ã
ä»å¹´ã¯æ¥è¨ã5æ¥ããæ¸ãã¦ããªãã¨ããäºå®ã«æ¦æ ããã
æ¸ããã¨ããªãã¨ãããã¨ã¯ãªãã¯ããªãã ãã©ãæã¨ãã£ã¦ãããã¨ããã¾ãå¤ããªãã®ã§èªåã®ãã£ã¦ããäºã«å¯¾ãã¦å¿åãããããã¨ããªããªã£ã¦ãã¦ããã®ã ããããã®çµæã¨ãã¦æ¥è¨ãæ¸ãããã¨ãæããªããªã£ã¦ãããã ãããªãâ¦
æ誰ãã«èããã人ã®å¿ã¯å·®åããæããªããã£ã¦ããè¨èãæãã ããã(MPEG?)
MinGW ã®ã¤ã³ã¹ãã¼ã«
ä¹
ãã¶ãã« MinGW ãã¤ã³ã¹ãã¼ã«ããï¼
ãã¤ã®éã«ã MinGW ã®ã¤ã³ã¹ãã¼ã©ãæ§å¤ãããã¦ãããããªã®ã§ã¤ã³ã¹ãã¼ã«æé ãè¨é²ï¼
MinGW ã¤ã³ã¹ãã¼ã©ã®åå¾
http://www.mingw.org/ ã® Download ãã以ä¸ã®é çªã«ãã©ã£ã¦
ææ°çã® mingw-get-inst-20110530.exe ãåå¾ãã¾ãï¼
ã³ã³ãã¤ã©ã¨ MSYS ã®ãã¼ã¹ã·ã¹ãã ãã¤ã³ã¹ãã¼ã«
mingw-get-inst-20110530.exe ãèµ·å
ã¤ã³ã¹ãã¼ã«ããããã±ã¼ã¸ã®ãªãã¸ããªã®è¨å®ï¼ä»¥ä¸ã®ãããããé¸ã¶ï¼
- ç¹å®ã®æç¹ã§ããã±ã¼ã¸ã³ã°ãããã®ãã¤ã³ã¹ãã¼ã«
- åããã±ã¼ã¸ã®ææ°çãã¤ã³ã¹ãã¼ã«
ã©ã¤ã»ã³ã¹ã¸ã®åæï¼ãI accept the agreementã ããã§ãã¯ãã¦æ¬¡ã¸ï¼
ã¤ã³ã¹ãã¼ã«å
ã®ãã©ã«ãã®è¨å®ï¼ä»åã¯ããã©ã«ãã®ãC:\MinGWãã¸ã¤ã³ã¹ãã¼ã«ãã¾ãï¼
ã¡ãã¥ã¼ã¸ã®ç»é²åã®è¨å®ï¼ä»åã¯ããã©ã«ãã®ãMinGWãã®ã¾ã¾æ¬¡ã¸ï¼
ã¤ã³ã¹ãã¼ã«ããã³ã³ãã¼ãã³ãã®è¨å®ï¼ä»¥ä¸ã®ããã±ã¼ã¸ããé¸æãã¾ãï¼
ä»åã¯ãã¹ã¦ã¤ã³ã¹ãã¼ã«ããã®ã§ãã¹ã¦ã«ãã§ãã¯ãä»ãã¾ããï¼
è¨å®å
容ã確èªããããã§ã¤ã³ã¹ãã¼ã«éå§ï¼
ãã°ããããã±ã¼ã¸ã®ãã¦ã³ãã¼ãã¨å±éä½æ¥ãç¶ãã¦çµäºãã¾ãï¼
ã³ã³ãã¤ã©ã®åä½ç¢ºèª
ã¹ã¿ã¼ãã¡ãã¥ã¼ãã MinGW -> MinGW Shell ãé¸ãã§ã·ã§ã«ãèµ·åãã¾ãï¼
$ vi hello.c sh: vi: command not found
ã·ã§ãã¯â¦ï¼ã¨æã£ããã© vim ã£ã¦æã£ãã vim ã¯èµ·åããï¼ã¨ãããã以ä¸ã®å 容ã§ãã¡ã¤ã«ãä½æï¼
#include<stdio.h> int main(int argc, char* argv[]) { printf("Hello, MinGW world!!\n"); return 0; }
ä¿åãããã³ã³ãã¤ã«ãã¦å®è¡ãã¦ã¿ãï¼
$ gcc -o hello.exe hello.c $ ./hello.exe Hello, MinGW world!!
ã¡ããã¨åããã£ã½ãã®ã§åä½ç¢ºèªçµäºï¼
ãã¾ã
$ gcc --version gcc.exe (GCC) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gcc ã®ãã¼ã¸ã§ã³ã¯ 4.5.2 ãããï¼