2015/12/17
Msys2 + MinGW-w64 ã¡ã¢
ã¡ãã£ã¨è©¦ãã¦ã¿ã¦ãã®ã§ä½æ¥ã¡ã¢ã
- msys2ã«å
¥ã£ã¦ããmingw64_shellãªã©ã®ããããã¡ã¤ã«ã $(msys-install-dir)/mingw64/bin ãPATHã«å
¥ããããã«ãªã£ã¦ãã®ã§ãmingw64ãããã«å
¥ãããã«å±éããã®ãè¯ãããä¾ãã°msys2ã®ã¤ã³ã¹ãã¼ã«ãã£ã¬ã¯ããªãããã©ã«ãã®
C:\msys64
ã«ããå ´åãmingw-w64ãå±éãããã£ã¬ã¯ããªãåããC:\msys64
ã¨æå®ããã°C:\msys64\mingw64
ã«ä¸ã«å ¥ã£ã¦ãããã®ã§å¥½é½åã(ããããã¨mingw-w64ãC:\msys64
ç´ä¸ã«ãããããã¡ã¤ã«ãè¥å¹²ç½®ããã©ãæ°ã«ãªãã»ã©ã§ã¯ãªã) - mingw-w64ã¯ã¤ã³ã¹ãã¼ã«æã«ããã¤ããªãã·ã§ã³ããããã¨ããããã¹ã¬ããã¢ãã«win32ãä¾å¤sehã§å ¥ãã¦ã¿ãã
- msys2ã¯æåã®ã¤ã³ã¹ãã¼ã©ã§å
¥ãã³ãã³ãã¯ããã±ã¼ã¸ããã¼ã¸ã£
pacman
ã使ãããã®ãã®ã§ãautoconf
ãmake
ã§ããå ¥ããªãããããã¯å¿ è¦ã«å¿ãã¦pacman
ã§å ¥ãããæåã®ã¹ããã㯠https://msys2.github.io/ ã®ã¨ããã«ããã®ãè¯ã (pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime
ã®å¾ã«ä¸åº¦msys2çªãéããªãã¨æ¬¡ã®pacman -Su
ã§ã¨ã©ã¼ãåºãã) - Emacsãmingw-w64ã§ããªã³ã³ãã¤ã«ããããã®ãå
¥ãã: http://sourceforge.net/projects/emacsbinw64/ ããã¯å±éããã¨emacsãµããã£ã¬ã¯ããªã®ä¸ã«å
¨é¨å
¥ã£ã¦ãã®ã§ã
C:\msys64\opt\emacs
ã«ã¾ãã£ã¨ã³ãã¼ãã¦msys2ã®PATHã«/opt/emacs/bin
ã追å ãã¨ããã
調æ»ä¸é ç®
- msys2çªã¯minttyã¨ããã®ã使ã£ã¦ããã³ãã³ãã©ã¤ã³goshããããã¿ã¼ããã«ã¨èªèããã«
éã¤ã³ã¿ã©ã¯ãã£ãã¢ã¼ãã«å
¥ã£ã¦ãã¾ãã
gosh -i
ã§èµ·åããã°ã¨ããããREPLã«ã¯å ¥ããã - mingw64ã¯sizeof(long)ã4ã§ãx86_64 ä¸ã§ã¯sizeof(long)==8ãä»®å®ãã¦ãã¨ãããå¼ã£ããã
- mingw64ã®ã©ã³ã¿ã¤ã ã¯mingwã®ã©ã³ã¿ã¤ã ã¨posixç³»ã®å®ç¾©ãè¥å¹²ç°ãªãã®ã§#ifdefãããã¤ãå¿ è¦
Post a comment