编译工具
<h3>compiler design</h3>
<p><a href="http://www.cs.cmu.edu/~fp/courses/15411-f14/schedule.html">http://www.cs.cmu.edu/~fp/courses/15411-f14/schedule.html</a>
数据流分析
<a href="http://www.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15745-s14/www/handouts.html">http://www.cs.cmu.edu/afs/cs.cmu.edu/academic/class/15745-s14/www/handouts.html</a>
<a href="https://www.zhihu.com/question/25254230">https://www.zhihu.com/question/25254230</a></p>
<h3>升级gcc</h3>
<pre><code>yum -y install centos-release-scl
yum -y install devtoolset-7-gcc devtoolset-7-gcc-c++ devtoolset-7-binutils
scl enable devtoolset-7 bash
需要注意的是scl命令启用只是临时的,退出shell或重启就会恢复原系统gcc版本。
如果要长期使用gcc 7.3的话:
echo "source /opt/rh/devtoolset-7/enable" >>/etc/profile</code></pre>
<h3>交叉编译工具</h3>
<p><code>tar jxvf gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.bz2</code></p>
<blockquote>
<p>安装<code>yum install glibc.i686</code>解决下面的问题</p>
<pre><code>bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory</code></pre>
<p>安装<code>yum install libstdc++-4.8.5-36.el7.i686</code>解决
首先可以使用<code>yum whatprovides libstdc++.so.6</code>查找</p>
<pre><code>error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory</code></pre>
</blockquote>
<h3>qt编译工具</h3>
<p><code>sudo tar jxvf qt-m6g2c.tar.bz2 -C /opt</code></p>
<h3>摸屏校准软件和库:tslib.tar.bz2</h3>
<p><code>sudo tar jxvf tslib.tar.bz2 -C /opt</code></p>