vx32
9vxä¸ã§åä½ããPlan9ããã»ã¹ã¯ããã¹ãOSã®ããã»ã¹ã¨1対1対å¿ãã¦ãã訳ã§ã¯ãªããããã¯ãã¹ãOSã§psãã¦ã¿ãã°ã9vxã¨ãã1ã¤ã®ããã»ã¹ããè¦ããªãï¼Plan9ããã»ã¹ã¯è¦ããªãï¼ãã¨ããããããã9vxã®å é¨å®è£ ã¯åºæ¬çã«ã1 CPU = 1ã¹ã¬ããï¼pthreaâ¦
9vxãx86_64ç°å¢ã§ãåãã¨ãã話ã ã£ãã®ã§ãMacOS Xã®VMWare Fusionä¸ã«Ubuntu 9.04/amd64ãã¤ã³ã¹ãã¼ã«ãã¦ã試ãã¦ã¿ããMacOS Xä¸ã§ã®åããæ¹ã¯ãããã¨ãã«æ¸ãã¦ãããåºæ¬ã¯ä¸ç·ãªã®ã§ã注æç¹ã ããã¡ã¢ãã¦ããããvx32ç¨ã®binutilsã¨gccãå¿ è¦â¦
æåã«èªããªãã¹ã±ã¸ã¥ã¼ã©å¨ãããªã¨ãã¾ãã¯ã¿ã¤ãã¼å²è¾¼ã¿ã®æ±ããã追ã£ããããã¨ã«ãããæ®éã®ãã«ãã¿ã¹ã¯OSã¯ããã»ã¹ããªã¨ã³ãã·ã§ã³ãæä¾ãã¦ãããã¤ã¾ãã10ããªç§å¨æã¨ãã§ã¿ã¤ãå²è¾¼ã¿ãçºçããã¦ãããã»ã¹ãåãæ¿ããï¼ããã«ã¹ã±ã¸â¦
æãè¦ã¤ãã¦9vxã®ã³ã¼ããèªãã§ãããã¨æããæåã«ããããã£ã¬ã¯ããªã®HACKINGãã¡ã¤ã«ã«ç®ãéãã¦ããã¨ããã vx32-0.12/src/9vx以ä¸ã9vxã®ã½ã¼ã¹ã³ã¼ãã§ãããããã£ã¬ã¯ããªã«åå¨ãããã¡ã¤ã«ã¯9vxã®ããã«æã§ä¿®æ£ or æ°è¦ä½æãããã³ã¼ããâ¦
ã¨ãããã§ãã°ããèãã¦ã¿ããvx32-gccãã©ããªãã¤ããªãåºåããã¨ãã¨ããã¨ã $ vx32-gcc hello.c $ file a.out a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, not strippedELFå½¢å¼ã ãå½ç¶ãå®è¡ã¯ã§ããªãâ¦
ç§ã¯èå³ãªããã©ããã¼ãã£ã³ã°ãã¦ãã人ãããã vx32 for Win32
æå ã®Linuxã ã¨ã©ãããã¾ãåãã¦ãããªãã®ã§ãç¶ãã¦MacBook (OSã¯Tiger)ã§è©¦ãã¦ã¿ããbinutils/gccã¯ããã¾ãã½ã¼ã¹ãããã«ããã¦ã¾ãã $ wget http://pdos.csail.mit.edu/~baford/vm/release/binutils-2.18-vx32.tar.bz2 $ tar jxvf binutils-2.18-â¦
linux ã®ã·ã¹ãã ã³ã¼ã«ãããã¯ãã (DSASéçºè ã®é¨å± 2008-07-25)ã¨ããã¨ã³ããªããã£ãã®ã§ããããªã¨ããããvxlinuxã¨æã£ã¦è©¦ãã¦ã¿ããã©ãçµè«ããè¨ãã¨ãã¾ãåãããã¨ãã§ããªã£ãã ç°å¢ã¯CentOS 5/IA32ãbinutils/gccå ±ã«ã½ã¼ã¹ããã³ã³ãã¤â¦
æ°ããVMãã¿ãRuss Coxããããã¹ãOSãå¤æ´ãããã¨ãªããPlan9ãå®è¡ã§ãã9vxãã¢ãã¦ã³ã¹ãããLinuxãFreeBSDãMacOS Xä¸ã§åã¨ã®ãã¨ãæè¡çã«ã¯RussããããMITã§ç 究éçºãã¦ããvx32ã¨ããä»®æ³åæ¯æ´ã©ã¤ãã©ãªã使ã£ã¦ãããä»å¹´ã®ï¼ä»é±ãã£ã¦â¦