shenhm 发表于 2008-8-24 10:52

构造GNUARM 出错了,知道的仁兄帮忙解决一下

第一步构造binutils&nbsp;时出错了:&nbsp;<br />显示如下&nbsp;<br />loading&nbsp;cache&nbsp;./config.cache<br />checking&nbsp;host&nbsp;system&nbsp;type...&nbsp;i686-pc-cygwin<br />checking&nbsp;target&nbsp;system&nbsp;type...&nbsp;arm-unknown-elf<br />checking&nbsp;build&nbsp;system&nbsp;type...&nbsp;i686-pc-cygwin<br />checking&nbsp;for&nbsp;a&nbsp;BSD&nbsp;compatible&nbsp;install...&nbsp;/usr/bin/install&nbsp;-c<br />checking&nbsp;whether&nbsp;ln&nbsp;works...&nbsp;yes<br />checking&nbsp;whether&nbsp;ln&nbsp;-s&nbsp;works...&nbsp;yes<br />checking&nbsp;for&nbsp;gcc...&nbsp;gcc<br />checking&nbsp;whether&nbsp;the&nbsp;C&nbsp;compiler&nbsp;(gcc&nbsp;&nbsp;)&nbsp;works...&nbsp;no<br />conifgure:error:installation&nbsp;or&nbsp;configuration&nbsp;problem:c&nbsp;compiler&nbsp;cannot&nbsp;executables<br /><br />cygwin&nbsp;我选的完全安装,肯定装了GCC的,怎么还会报错了,<br /><br />config.log信息<br />This&nbsp;file&nbsp;contains&nbsp;any&nbsp;messages&nbsp;produced&nbsp;by&nbsp;compilers&nbsp;while<br />running&nbsp;configure,&nbsp;to&nbsp;aid&nbsp;debugging&nbsp;if&nbsp;configure&nbsp;makes&nbsp;a&nbsp;mistake.<br /><br />configure:595:&nbsp;checking&nbsp;host&nbsp;system&nbsp;type<br />configure:616:&nbsp;checking&nbsp;target&nbsp;system&nbsp;type<br />configure:634:&nbsp;checking&nbsp;build&nbsp;system&nbsp;type<br />configure:689:&nbsp;checking&nbsp;for&nbsp;a&nbsp;BSD&nbsp;compatible&nbsp;install<br />configure:742:&nbsp;checking&nbsp;whether&nbsp;ln&nbsp;works<br />configure:766:&nbsp;checking&nbsp;whether&nbsp;ln&nbsp;-s&nbsp;works<br />configure:1809:&nbsp;checking&nbsp;for&nbsp;gcc<br />configure:1922:&nbsp;checking&nbsp;whether&nbsp;the&nbsp;C&nbsp;compiler&nbsp;(gcc&nbsp;&nbsp;)&nbsp;works<br />configure:1938:&nbsp;gcc&nbsp;-o&nbsp;conftest&nbsp;&nbsp;&nbsp;&nbsp;conftest.c&nbsp;&nbsp;1&gt&5<br />configure:&nbsp;failed&nbsp;program&nbsp;was:<br /><br />#line&nbsp;1933&nbsp;&quot;configure&quot;<br />#include&nbsp;&quot;confdefs.h&quot;<br /><br />main(){return(0);}

armecos 发表于 2008-8-24 11:27

《ecos增值包》里有现成的GNU for ARM环境,

还有汇编、C/C++、混合编程范例程序以及详细的cygwin安装使用方法。<br /><br /><b>更多内容,详见:</b><br /><b>《培训系列“丛书”》</b><br /><b>www.armecos.com</b><br />-----------------------------------<br /><b>More&nbsp;details,&nbsp;see:</b><br /><b>《&quot;Series&nbsp;Books&quot;&nbsp;of&nbsp;Training》</b><br /><b>www.armecos.com</b>
页: [1]
查看完整版本: 构造GNUARM 出错了,知道的仁兄帮忙解决一下