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