<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taiyakisun</author_name>
  <author_url>https://blog.hatena.ne.jp/taiyakisun/</author_url>
  <blog_title>結果だけでなく過程も見てください</blog_title>
  <blog_url>https://taiyakisun.hatenablog.com/</blog_url>
  <categories>
    <anon>生活</anon>
    <anon>C++</anon>
    <anon>プログラミング</anon>
    <anon>Linux</anon>
    <anon>C言語</anon>
    <anon>備忘録</anon>
  </categories>
  <description>C/C++でのお話です。 忘れがちなのでまとめておきます。 備忘録 共有ライブラリ作成時 VC++ではexportする関数毎に__declspec(dllexport)が必要になるが、gccの場合はstaticが付与されていなければ自動的に公開になるため不要 共有ライブラリ(拡張子so)のファイル名には先頭に必ずlibをつける(例:sharedlib.cならlibsharedlib.so) 「-fPIC」(Position Independent Code)オプションをつけてコンパイルした方がよい 共有ライブラリ使用時 先頭のlibと拡張子.soを除いた名前を指定する(例:libsharedl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaiyakisun.hatenablog.com%2Fentry%2F20150506%2F1430896155&quot; title=&quot;Linuxでgccを使用して共有ライブラリを作成・使用する方法 - 結果だけでなく過程も見てください&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>2015-05-06 16:09:15</published>
  <title>Linuxでgccを使用して共有ライブラリを作成・使用する方法</title>
  <type>rich</type>
  <url>https://taiyakisun.hatenablog.com/entry/20150506/1430896155</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
