<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>minus9d</author_name>
  <author_url>https://blog.hatena.ne.jp/minus9d/</author_url>
  <blog_title>minus9d's diary</blog_title>
  <blog_url>https://minus9d.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>g++でhello.cppから実行ファイルを生成するときに何が起こっているかを調べてまとめました。全体的に gcc Compilation Process and Steps of C Program in Linux を参考にしています。元記事はCファイルを対象にしていますが、本記事ではC++ファイルを対象としています。 ソースコード 以下のコード hello.cpp をステップバイステップでビルドしていきます。このコードはC++11相当のコードです。 #include &lt;iostream&gt; #include &lt;vector&gt; #define MESSAGE &quot;hello &quot; int mai…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fminus9d.hatenablog.com%2Fentry%2F2017%2F07%2F23%2F164331&quot; title=&quot;g++によるhello world再訪 - minus9d&amp;#39;s diary&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>2017-07-23 16:43:31</published>
  <title>g++によるhello world再訪</title>
  <type>rich</type>
  <url>https://minus9d.hatenablog.com/entry/2017/07/23/164331</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
