<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Gcc on Kenno&#39;s Open Note</title>
    <link>https://blog.khmersite.net/tags/gcc/</link>
    <description>Recent content in Gcc on Kenno&#39;s Open Note</description>
    <image>
      <title>Kenno&#39;s Open Note</title>
      <url>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.154.0</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Aug 2023 23:07:48 +1000</lastBuildDate>
    <atom:link href="https://blog.khmersite.net/tags/gcc/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fix cc: error trying to exec &#39;cc1plus&#39; on openSUSE Leap</title>
      <link>https://blog.khmersite.net/p/fix-cc-error-trying-to-exec-cc1plus-on-opensuse-leap/</link>
      <pubDate>Tue, 29 Aug 2023 23:07:48 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/fix-cc-error-trying-to-exec-cc1plus-on-opensuse-leap/</guid>
      <description>&lt;p&gt;It&amp;rsquo;s currently almost 23:15, and I&amp;rsquo;m already sleepy. Therefore, this is going to be a short note on how I fixed an minor but annoying issue &lt;code&gt;nvim-treesiter&lt;/code&gt; (Neovim&amp;rsquo;s plugin) on openSUSE Leap (15.5).&lt;/p&gt;
&lt;p&gt;The error message is or was as below:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;nvim-treesitter[yaml]: Error during compilation
cc: error trying to exec &amp;#39;cc1plus&amp;#39;: execvp: No such file or directory
Press ENTER or type command to continue
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I don&amp;rsquo;t code in C++ nowadays, but the error looks like the C or C++ compiler was missing. But first, let&amp;rsquo;s show the version of openSUSE running on this instance, I mean VM:&lt;/p&gt;</description>
    </item>
    <item>
      <title>FreeBSD 10: Shared object &#39;libstdc&#43;&#43;.so.6&#39; not found</title>
      <link>https://blog.khmersite.net/p/freebsd-10-shared-object-libstdc-so-6-not-found/</link>
      <pubDate>Fri, 25 Apr 2014 11:53:53 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/freebsd-10-shared-object-libstdc-so-6-not-found/</guid>
      <description>&lt;p&gt;Today while I was updating &lt;code&gt;py27-m2crypto&lt;/code&gt; package on FreeBSD 10 using &lt;code&gt;portmaster&lt;/code&gt;, the following error message was displayed:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Shared object &amp;quot;libstdc++.so.6&amp;quot; not found, required by &amp;quot;swig&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Fortunately, someone else has found the problem and solution before me. According this &lt;a href=&#34;http://www.laszlopusztai.net/2014/01/26/running-perforce-on-freebsd-10/&#34;&gt;blog post&lt;/a&gt;, FreeBSD 10 includes a &lt;a href=&#34;https://wiki.freebsd.org/NewC++Stack&#34;&gt;new C++ stack&lt;/a&gt; and gcc, including &lt;code&gt;libstdc++&lt;/code&gt;, is not installed by default.&lt;/p&gt;
&lt;p&gt;Therefore, to fix the missing this &lt;code&gt;libstdc++.so.6&lt;/code&gt; issue, we need to install &lt;code&gt;lang/gcc&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If you use &lt;strong&gt;portmaster&lt;/strong&gt;, the command to install &lt;code&gt;lang/gcc&lt;/code&gt; is:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
