public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* I couldn't build gcc.
@ 2005-06-27 20:52 北斗 星君
  2005-06-28 15:02 ` Lionel B
  0 siblings, 1 reply; 4+ messages in thread
From: 北斗 星君 @ 2005-06-27 20:52 UTC (permalink / raw)
  To: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 2844 bytes --]

I am a middle school student in China.

I build gcc-3.3.3 on my computer.But it is some error on it.

make[1]: Entering directory `/cygdrive/e/ToolBuild/gcc-build/libiberty'
make[2]: Entering directory 
`/cygdrive/e/ToolBuild/gcc-build/libiberty/testsuite
'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/cygdrive/e/ToolBuild/gcc-build/libiberty/testsuite'

make[1]: Leaving directory `/cygdrive/e/ToolBuild/gcc-build/libiberty'
make[1]: Entering directory `/cygdrive/e/ToolBuild/gcc-build/gcc'
(cd intl && make all)
make[2]: Entering directory `/cygdrive/e/ToolBuild/gcc-build/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/e/ToolBuild/gcc-build/gcc/intl'
(MAKE="make"; srcdir=`cd ../../gcc-3.3.3/gcc/fixinc && ${PWDCMD-pwd}` ; \
CC="gcc"; CFLAGS="  -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall 
-Wwrite-strings -W
strict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long
-DHAVE_CONFIG_H -DGENERATOR_FILE"; LDFLAGS=""; \
WARN_CFLAGS="-W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -
Wtraditional -pedantic -Wno-long-long "; 
LIBERTY=`pwd`/"../libiberty/libiberty.a
"; \
export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS LIBERTY; \
cd ./fixinc && \
/bin/sh ${srcdir}/mkfixinc.sh i686-pc-cygwin i386-pc-elf)
constructing ../fixinc.sh for i386-pc-elf to run on i686-pc-cygwin
make TARGETS=oneprocess SHELL="/bin/sh" CC="gcc" CFLAGS=" -g -O2 -DIN_GCC 
-DCROS
S_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wtr
aditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE" 
LDFLAGS=""
LIBERTY="/cygdrive/e/ToolBuild/gcc-build/gcc/../libiberty/libiberty.a" 
install-b
in
make[2]: Entering directory `/cygdrive/e/ToolBuild/gcc-build/gcc/fixinc'
/bin/sh ../../../gcc-3.3.3/gcc/fixinc/genfixes machname.h
-uϵͳÕÒ²»µ½Ö¸¶¨µÄÎļþ¡£
make[2]: *** [machname.h] Error 1
make[2]: Leaving directory `/cygdrive/e/ToolBuild/gcc-build/gcc/fixinc'
make[1]: *** [fixinc.sh] Error 2
make[1]: Leaving directory `/cygdrive/e/ToolBuild/gcc-build/gcc'
make: *** [all-gcc] Error 2

Because it is lacking of machname.h,I couldn't build it.

Somebody in gcc maillist tell me ask the question to Cygwin.

But the error is not Cygwin.Some people use Linux to build cross-gcc also 
appear this problem.

And I couldn't find the Cygwin's maillist.

And,the person who tell me to ask Cygwin,tell me that cygwin is not good to 
use gcc.But what can I use?Which GCC can I use on Win32?Which cross-GCC can 
I use on Win32?NO!No any one except Cygwin.

I do feel that the GCC source's error must ask GCC.
So give me some advise,please.I must build it.

_________________________________________________________________
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger:  http://messenger.msn.com/cn  

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: I couldn't build gcc.
  2005-06-27 20:52 I couldn't build gcc 北斗 星君
@ 2005-06-28 15:02 ` Lionel B
  0 siblings, 0 replies; 4+ messages in thread
From: Lionel B @ 2005-06-28 15:02 UTC (permalink / raw)
  To: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 1534 bytes --]

±±¶· ÐǾý wrote:
> I am a middle school student in China.
>
> [snip]
>
> Somebody in gcc maillist tell me ask the question to Cygwin.
>
> But the error is not Cygwin.Some people use Linux to build cross-gcc
> also appear this problem.
>
> And I couldn't find the Cygwin's maillist.

Hi, I wouldn't be too sure it's not a Cygwin problem; or at least someone there might be able to help you - they are
*very* knowledgeable. The archives (search them first) for the mailing list you want is: http://cygwin.com/ml/cygwin/

You will have to subscribe to it (see http://cygwin.com/lists.html at the bottom of the page) to be able to post (if you
have a newsreader you can also access it via Gmane http://gmane.org/); but be sure to read the Cygwin FAQ
(http://cygwin.com/faq/) and the mailing list posting guidelines (http://cygwin.com/problems.html) before posting.

> And,the person who tell me to ask Cygwin,tell me that cygwin is not
> good to use gcc.

The person was wrong! GCC works perfectly well with Cygwin (in fact Cygwin is built with GCC) - I use it in my
day-to-day work.

> But what can I use?Which GCC can I use on Win32?Which
> cross-GCC can I use on Win32?NO!No any one except Cygwin.

There is another port of GCC to Win32 called MinGW. You can find it at: http://www.mingw.org/

Note that MinGW is what it says: a "minimalist" port (basically just the compiler and the necessary tool chain to run
configure scripts), whereas Cygwin is a full Posix (Unix-like) emulation layer for Win32.

Regards,

-- 
Lionel B


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: I couldn't build gcc.
  2005-06-30 13:59 北斗 星君
@ 2005-06-30 17:15 ` Arturas Moskvinas
  0 siblings, 0 replies; 4+ messages in thread
From: Arturas Moskvinas @ 2005-06-30 17:15 UTC (permalink / raw)
  To: 北斗 星君; +Cc: gcc-help

> 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.!!!

Can you tell us what exactly do you want to do? Nobody told you not to
ask on gcc mailing list, simply your question is more about cygwin and
people on that mailing list will answer you faster and much better...

Arturas M.
P.S.: elf is not some style or what, it is executable and linkable
format... For more info:
http://en.wikipedia.org/wiki/Executable_and_Linkable_Format

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: I couldn't build gcc.
@ 2005-06-30 13:59 北斗 星君
  2005-06-30 17:15 ` Arturas Moskvinas
  0 siblings, 1 reply; 4+ messages in thread
From: 北斗 星君 @ 2005-06-30 13:59 UTC (permalink / raw)
  To: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 6802 bytes --]

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@cse.unl.edu&gt;<br>&gt;To: 北斗 æ˜
Ÿå› &lt;huangxiangkui@msn.com&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系统找ä
¸åˆ°æŒ‡å®šçš„文件、\x7f<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@cse-mail.unl.edu 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  

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-30 17:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-27 20:52 I couldn't build gcc 北斗 星君
2005-06-28 15:02 ` Lionel B
2005-06-30 13:59 北斗 星君
2005-06-30 17:15 ` Arturas Moskvinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).