<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>camlspotter</author_name>
  <author_url>https://blog.hatena.ne.jp/camlspotter/</author_url>
  <blog_title>camlspotter’s blog</blog_title>
  <blog_url>https://camlspotter.hatenablog.com/</blog_url>
  <categories>
    <anon>OCaml</anon>
  </categories>
  <description>OCaml のオブジェクトファイル(.cmo, .cmx)を並べる順番には意味がある。 順番を間違えると: Reference to undefined global Hogehoge などと言われるので注意。 a.ml: let x = 1 b.ml: let y = A.x c.ml: let z = B.y というソースがあったとする。 a.ml, b.ml, c.ml の順に分割コンパイルする。これは問題ない: $ ocamlc -c a.ml $ ocamlc -c b.ml $ ocamlc -c c.ml さて、これをリンクする場合、依存関係の順にリンクしなければいけない: $ …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcamlspotter.hatenablog.com%2Fentry%2F20130824%2F1377313352&quot; title=&quot; オブジェクトファイルのリンク順  - camlspotter’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-08-24 12:02:32</published>
  <title> オブジェクトファイルのリンク順 </title>
  <type>rich</type>
  <url>https://camlspotter.hatenablog.com/entry/20130824/1377313352</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
