çµè«ããè¨ãã¨ã ããã©ã¤ãã©ãªã¯éçãããã©ã¤ãã©ãªã¯åçã«ãªã³ã¯ãããã¨ããå ´å gccã®-staticãªãã·ã§ã³ã¯å
¨ä½ã«å¹ãã¡ãããã ãªã³ã«ã«ç´æ¥ãªãã·ã§ã³ã渡ãã¨ããããã¨ãã話ã gcc ⦠-Wl,-lmigemo,-dn,-llua ⦠(migemoã¯ãã¤ãããã¯ãluaã¯ã¹ã¿ãã£ãã¯) â»ãã¿ãããããããã§ããã®æ¶æ¸¬ãå¤ãã®ã¯ ã¡ããã¨ããã¥ã¡ã³ãè¦ã¦ãªãã¦ãçµé¨åã ããã§ãã hogeã¨ããã©ã¤ãã©ãªããã¤ãããã¯ãªã³ã¯ããå ´åã³ã³ãã¤ã©(ãªã³ã«)㯠libhoge.dll.a â libhoge.aã®é ã«ã¤ã³ãã¼ãã©ã¤ãã©ãªãæ¢ãã¦ããã¾ããã ã¹ã¿ãã£ãã¯ãªã³ã¯ã®å ´å㯠libhoge.a ããæ¢ãã«è¡ãã¾ããï¼ã®ããã§ãï¼ã ãããã£ã¦ãæ示çã«ãã¤ãããã¯ãªã³ã¯ããã©ã¤ãã©ãªãªãlibï½.dll.aã¨ããååãã ãã以å¤ã¯libï½.aã¨ããååãã両æ¹ãã
{{#tags}}- {{label}}
{{/tags}}