æè¿ãJavaãããã¤ãããã¯ã©ã¤ãã©ãªã®å¼ã³åºãããããã¨èãã¦ãã¾ãããããããããã¤ãããã¯ã©ã¤ãã©ãªã£ã¦ã©ããã£ã¦ä½ããã§ãããï¼ãã¨ãããã¨ã§èª¿ã¹ã¾ããã OSXã®ãã¤ãããã¯ã©ã¤ãã©ãªã¯ãdylib ãã¤ãããã¯ã©ã¤ãã©ãªã¯ãWindowsã ã¨dllãLinuxã ã¨soã¨ããæ¡å¼µåã«ãªãã¨æãã¾ãããOSXã ã¨dylibãããã«ãããããã§ãã ä¸è¨ããã°ãåèã«ã試ãã«ä½ã£ã¦ã¿ã¾ãã mac ã® gcc 㧠dylib ãä½æããæ¹æ³ ã©ã¤ãã©ãªã®ã³ã¼ããæ¸ãã æ©éãã©ã¤ãã©ãªã®ã³ã¼ããæ¸ãã¾ãã $ cd dylibexample/ $ vim dylibexample.c ç°¡åãªã©ã¤ãã©ãªã³ã¼ããæ¸ãã¾ããhelloé¢æ°ãå®è¡ããã¨ãhello worldãåºåããã ãã§ãã #include int hello() { printf("hello world\n");
{{#tags}}- {{label}}
{{/tags}}