{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcamlspotter.hatenablog.com%2Fentry%2F20130824%2F1377313352\" title=\" \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30f3\u30af\u9806  - camlspotter\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"OCaml \u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb(.cmo, .cmx)\u3092\u4e26\u3079\u308b\u9806\u756a\u306b\u306f\u610f\u5473\u304c\u3042\u308b\u3002 \u9806\u756a\u3092\u9593\u9055\u3048\u308b\u3068: Reference to undefined global Hogehoge \u306a\u3069\u3068\u8a00\u308f\u308c\u308b\u306e\u3067\u6ce8\u610f\u3002 a.ml: let x = 1 b.ml: let y = A.x c.ml: let z = B.y \u3068\u3044\u3046\u30bd\u30fc\u30b9\u304c\u3042\u3063\u305f\u3068\u3059\u308b\u3002 a.ml, b.ml, c.ml \u306e\u9806\u306b\u5206\u5272\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3002\u3053\u308c\u306f\u554f\u984c\u306a\u3044: $ ocamlc -c a.ml $ ocamlc -c b.ml $ ocamlc -c c.ml \u3055\u3066\u3001\u3053\u308c\u3092\u30ea\u30f3\u30af\u3059\u308b\u5834\u5408\u3001\u4f9d\u5b58\u95a2\u4fc2\u306e\u9806\u306b\u30ea\u30f3\u30af\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044: $ \u2026","height":"190","published":"2013-08-24 12:02:32","author_url":"https://blog.hatena.ne.jp/camlspotter/","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","title":" \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30f3\u30af\u9806 ","categories":["OCaml"],"version":"1.0","image_url":null,"blog_title":"camlspotter\u2019s blog","width":"100%","author_name":"camlspotter","type":"rich","blog_url":"https://camlspotter.hatenablog.com/","url":"https://camlspotter.hatenablog.com/entry/20130824/1377313352"}