多谢两位了<br><br><div class="gmail_quote">在 2012年3月3日 上午12:43,tonghuix <span dir="ltr"><<a href="mailto:tonghuix@gmail.com">tonghuix@gmail.com</a>></span>写道:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

于2012年03月03日 星期六 00时26分56秒,lo.yu.linux写到:<br>
<div><div class="h5">> 话说linux版和非linux版有啥区别?<br>
><br>
> 在 2012年3月3日 上午12:23,tong hui <<a href="mailto:tonghuix@gmail.com">tonghuix@gmail.com</a>>写道:<br>
><br>
>> 可以尝试安装Codesourcy的商业版编译器,当然咱们用的是它的免费版。下载ARM EABI的lite版就够用了。不要下载GNU LINUX版的。<br>
>><br>
>> 下载那个TAR包,然后解包到一个路径下,我喜欢放在opt下,然后把这个路径添加到系统$PATH变量里即可。<br>
>><br>
>> 试试这个链接:<br>
>><br>
>> <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" target="_blank">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><br>


>><br>
>> 或者你可以用crosstool-ng自己编译一个也行,就是费点时间。<br>
>><br>
>> /***<br>
>> * @brief 启智开源 编码自由<br>
>> * @brief Open Source,  Coding for free!<br>
>> *<br>
>> * @param author 佟辉 Tong Hui<br>
>> * @param email <a href="mailto:tonghuix@gmail.com">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>
>> On Fri, Mar 2, 2012 at 11:08 PM, Zhentao Zhu <<a href="mailto:skt041959@gmail.com">skt041959@gmail.com</a>> wrote:<br>
>><br>
>>> 我最近要做关于stm8的编程工作,请教一下怎么在linux下搭建开发环境?<br>
>>> 我试着装了一下arm-elf-gcc,但是它的库里似乎没有对应的头文件。有没有类似avr-gcc那样的工具?<br>
>>><br>
>>> --<br>
>>> Best wishs        //smash the scabbard<br>
>>> -------------- 下一部分 --------------<br>
>>> 一个HTML附件被移除...<br>
>>> URL: <<br>
>>><br>
>> <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>
>>> --<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>
>>><br>
>> -------------- 下一部分 --------------<br>
>> 一个HTML附件被移除...<br>
>> URL: <<br>
>> <a href="https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120303/56ceb9e5/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120303/56ceb9e5/attachment.html</a><br>


>>><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>
>><br>
> -------------- 下一部分 --------------<br>
> 一个HTML附件被移除...<br>
> URL: <<a href="https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120303/dd83d790/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20120303/dd83d790/attachment.html</a>><br>


<br>
</div></div>arm-none-eabi和arm-none-linux-gnueabi的主要区别在于库的差别,前者没有后者的库多,后者主要用于在有操作系统的时候编译APP用的,刚才查了一下后者可以用apt-get安装很是方便。前者不包括标准输入输出库在内的很多C标准库,适合于做面向硬件的类似单片机那样的开发。<br>
<br>
BTW,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
</font></span><div class="im HOEnZb">/***<br>
 * @brief 启智开源 编码自由<br>
 * @brief Open Source,  Coding for free!<br>
 *<br>
 * @param author 佟辉 Tong Hui<br>
 * @param email <a href="mailto:tonghuix@gmail.com">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>
</div><div class="HOEnZb"><div class="h5">--<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Best wishs        //smash the scabbard</div><br>