<div>可以尝试安装Codesourcy的商业版编译器,当然咱们用的是它的免费版。下载ARM EABI的lite版就够用了。不要下载GNU LINUX版的。</div><div><br></div><div>下载那个TAR包,然后解包到一个路径下,我喜欢放在opt下,然后把这个路径添加到系统$PATH变量里即可。</div><div><br></div><div>试试这个链接:<a href="https://sourcery.mentor.com/sgpp/lite/arm/portal/package9740/public/arm-none-eabi/arm-2011.09-69-arm-none-eabi-i686-pc-linux-gnu.tar.bz2">https://sourcery.mentor.com/sgpp/lite/arm/portal/package9740/public/arm-none-eabi/arm-2011.09-69-arm-none-eabi-i686-pc-linux-gnu.tar.bz2</a></div>

<div><br></div><div>或者你可以用crosstool-ng自己编译一个也行,就是费点时间。</div><br clear="all">/***<br> * @brief 启智开源 编码自由<br> * @brief Open Source,  Coding for free!<br> *<br> * @param author 佟辉 Tong Hui<br> * @param email <a href="mailto:tonghuix@gmail.com" target="_blank">tonghuix@gmail.com</a><br>

 * @param web <a href="http://tonghuix.blog.chinaunix.net" target="_blank">http://tonghuix.blog.chinaunix.net</a><br> */<br>
<br><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 11:08 PM, Zhentao Zhu <span dir="ltr"><<a href="mailto:skt041959@gmail.com">skt041959@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

我最近要做关于stm8的编程工作,请教一下怎么在linux下搭建开发环境?<br>
我试着装了一下arm-elf-gcc,但是它的库里似乎没有对应的头文件。有没有类似avr-gcc那样的工具?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Best wishs        //smash the scabbard<br>
-------------- 下一部分 --------------<br>
一个HTML附件被移除...<br>
URL: <<a href="https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120302/fd561077/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120302/fd561077/attachment.html</a>><br>


--<br>
ubuntu-zh mailing list<br>
<a href="mailto:ubuntu-zh@lists.ubuntu.com">ubuntu-zh@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh</a><br>
</font></span></blockquote></div><br>