<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>G on ZRJ | 学习笔记</title>
        <link>https://blog.zrj.me/tags/g/</link>
        <description>Recent content in G on ZRJ | 学习笔记</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>zh-CN</language>
        <lastBuildDate>Wed, 04 Dec 2013 13:01:14 +0800</lastBuildDate><atom:link href="https://blog.zrj.me/tags/g/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>gcc 查看链接库路径</title>
        <link>https://blog.zrj.me/posts/2013-12-04-gcc-%E6%9F%A5%E7%9C%8B%E9%93%BE%E6%8E%A5%E5%BA%93%E8%B7%AF%E5%BE%84/</link>
        <pubDate>Wed, 04 Dec 2013 13:01:14 +0800</pubDate>
        
        <guid>https://blog.zrj.me/posts/2013-12-04-gcc-%E6%9F%A5%E7%9C%8B%E9%93%BE%E6%8E%A5%E5%BA%93%E8%B7%AF%E5%BE%84/</guid>
        <description>&lt;p&gt;当我们想知道 gcc 在链接的时候使用了什么库的时候，可以使用这样的命令&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ gcc --print-file-name&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;librt.so 
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/librt.so
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;之前用过一次，今天再用的时候差点又忘了，简单记一下&lt;/p&gt;
</description>
        </item>
        
    </channel>
</rss>
