Re: I couldn't build gcc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



First,I think that I have right to use cross-gcc on win32,isn't it?

Secound,the gcc say that it could be use as cross-gcc,so I could use gcc as cross-gcc.

Last,Why I couldn't give any question on GCC?

I love GCC,so I hope that it will be better than before.
Cygwin is not a real gcc.It couldn't build a programe with elf style.
If Cygwin could build a programe with elf style,I would build gcc on cygwin again!


I know that a program with elf style couldn't run on Win32.
But I also have right to build a programe with elf style.That should be suppose.!!!


<br><br><br>&gt;From: Neo Jia &lt;cjia@xxxxxxxxxxx&gt;<br>&gt;To: ??? ?
?? &lt;huangxiangkui@xxxxxxx&gt;<br>&gt;Subject: Re: I couldn't build gcc.<br>&gt;Date: Mon, 27 Jun 2005 16:00:36 -0500<br>&gt;<br>&gt;First of all, why you need a cross-compiler? What is your destination<br>&gt;machine? PPC or something else? I think the cygwin support GCC very well<br>&gt;and there is no need to compile it additionally if your destination<br>&gt;machine is your working one.<br>&gt;<br>&gt;Neo<br>&gt;<br>&gt;<br>&gt;On Tue, 2005-06-28 at 04:51 +0800, ??? ??? wrote:<br>&gt; &gt; I am a middle school student in China.<br>&gt; &gt;<br>&gt; &gt; I build gcc-3.3.3 on my computer.But it is some error on it.<br>&gt; &gt;<br>&gt; &gt; make[1]: Entering directory `/cygdrive/e/ToolBuild/gcc-build/libiberty'<br>&gt; &gt; make[2]: Entering directory<br>&gt; &gt; `/cygdrive/e/ToolBuild/gcc-build/libiberty/testsuite<br>&gt; &gt; '<br>&gt; &gt; make[2]: Nothing to be done for `all'.<br>&gt; &gt; make[2]: Leaving directory<br>&gt; &gt; `/cygdrive/e/ToolBuild/gcc-build/libiberty/testsuite'<br>&gt; &gt;<br>&gt; &gt; make[1]: Leaving directory `/cygdrive/e/ToolBuild/gcc-build/libiberty'<br>&gt; &gt; make[1]: Entering directory `/cygdrive/e/ToolBuild/gcc-build/gcc'<br>&gt; &gt; (cd intl &amp;&amp; make all)<br>&gt; &gt; make[2]: Entering directory `/cygdrive/e/ToolBuild/gcc-build/gcc/intl'<br>&gt; &gt; make[2]: Nothing to be done for `all'.<br>&gt; &gt; make[2]: Leaving directory `/cygdrive/e/ToolBuild/gcc-build/gcc/intl'<br>&gt; &gt; (MAKE=&quot;make&quot;; srcdir=`cd ../../gcc-3.3.3/gcc/fixinc &amp;&amp; ${PWDCMD-pwd}` ; \<br>&gt; &gt; CC=&quot;gcc&quot;; CFLAGS=&quot; -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall<br>&gt; &gt; -Wwrite-strings -W<br>&gt; &gt; strict-prototypes -Wmissing-prototypes -Wtraditional -pedantic<br>&gt; &gt; -Wno-long-long<br>&gt; &gt; -DHAVE_CONFIG_H -DGENERATOR_FILE&quot;; LDFLAGS=&quot;&quot;; \<br>&gt; &gt; WARN_CFLAGS=&quot;-W -Wall -Wwrite-strings -Wstrict-prototypes<br>&gt; &gt; -Wmissing-prototypes -<br>&gt; &gt; Wtraditional -pedantic -Wno-long-long &quot;;<br>&gt; &gt; LIBERTY=`pwd`/&quot;../libiberty/libiberty.a<br>&gt; &gt; &quot;; \<br>&gt; &gt; export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS LIBERTY; \<br>&gt; &gt; cd ./fixinc &amp;&amp; \<br>&gt; &gt; /bin/sh ${srcdir}/mkfixinc.sh i686-pc-cygwin i386-pc-elf)<br>&gt; &gt; constructing ../fixinc.sh for i386-pc-elf to run on i686-pc-cygwin<br>&gt; &gt; make TARGETS=oneprocess SHELL=&quot;/bin/sh&quot; CC=&quot;gcc&quot; CFLAGS=&quot; -g -O2 -DIN_GCC<br>&gt; &gt; -DCROS<br>&gt; &gt; S_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes<br>&gt; &gt; -Wtr<br>&gt; &gt; aditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE&quot;<br>&gt; &gt; LDFLAGS=&quot;&quot;<br>&gt; &gt; LIBERTY=&quot;/cygdrive/e/ToolBuild/gcc-build/gcc/../libiberty/libiberty.a&quot;<br>&gt; &gt; install-b<br>&gt; &gt; in<br>&gt; &gt; make[2]: Entering directory `/cygdrive/e/ToolBuild/gcc-build/gcc/fixinc'<br>&gt; &gt; /bin/sh ../../../gcc-3.3.3/gcc/fixinc/genfixes machname.h<br>&gt; &gt; -u绯荤??句 ??版?瀹????欢??<br>&gt; &gt; make[2]: *** [machname.h] Error 1<br>&gt; &gt; make[2]: Leaving directory `/cygdrive/e/ToolBuild/gcc-build/gcc/fixinc'<br>&gt; &gt; make[1]: *** [fixinc.sh] Error 2<br>&gt; &gt; make[1]: Leaving directory `/cygdrive/e/ToolBuild/gcc-build/gcc'<br>&gt; &gt; make: *** [all-gcc] Error 2<br>&gt; &gt;<br>&gt; &gt; Because it is lacking of machname.h,I couldn't build it.<br>&gt; &gt;<br>&gt; &gt; Somebody in gcc maillist tell me ask the question to Cygwin.<br>&gt; &gt;<br>&gt; &gt; But the error is not Cygwin.Some people use Linux to build cross-gcc also<br>&gt; &gt; appear this problem.<br>&gt; &gt;<br>&gt; &gt; And I couldn't find the Cygwin's maillist.<br>&gt; &gt;<br>&gt; &gt; And,the person who tell me to ask Cygwin,tell me that cygwin is not good to<br>&gt; &gt; use gcc.But what can I use?Which GCC can I use on Win32?Which cross-GCC can<br>&gt; &gt; I use on Win32?NO!No any one except Cygwin.<br>&gt; &gt;<br>&gt; &gt; I do feel that the GCC source's error must ask GCC.<br>&gt; &gt; So give me some advise,please.I must build it.<br>&gt; &gt;<br>&gt; &gt; _________________________________________________________________<br>&gt; &gt; 涓???虹????杩??浜ゆ?锛??浣跨? MSN Messenger: http://messenger.msn.com/cn<br>&gt; &gt;<br>&gt; &gt; plain text document attachment (SpamAssassinReport.txt)<br>&gt; &gt; Spam detection software, running on the system &quot;cse-mail.unl.edu&quot;, has<br>&gt; &gt; identified this incoming email as possible spam. The original message<br>&gt; &gt; has been attached to this so you can view it (if it isn't spam) or label<br>&gt; &gt; similar future email. If you have any questions, see<br>&gt; &gt; manager@xxxxxxxxxxxxxxxx for details.<br>&gt; &gt;<br>&gt; &gt; Content preview: I am a middle school student in China. I build<br>&gt; &gt; gcc-3.3.3 on my computer.But it is some error on it. make[1]: Entering<br>&gt; &gt; directory `/cygdrive/e/ToolBuild/gcc-build/libiberty' make[2]: Entering<br>&gt; &gt; directory `/cygdrive/e/ToolBuild/gcc-build/libiberty/testsuite '<br>&gt; &gt; make[2]: Nothing to be done for `all'. make[2]: Leaving directory<br>&gt; &gt; `/cygdrive/e/ToolBuild/gcc-build/libiberty/testsuite' [...]<br>&gt; &gt;<br>&gt; &gt; Content analysis details: (5.7 points, 5.0 required)<br>&gt; &gt;<br>&gt; &gt; pts rule name description<br>&gt; &gt; ---- ---------------------- --------------------------------------------------<br>&gt; &gt; 3.2 CHARSET_FARAWAY_HEADER A foreign language charset used in headers<br>&gt; &gt; 2.5 MIME_CHARSET_FARAWAY MIME character set indicates foreign language<br>&gt; &gt; 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux