public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* I couldn't build gcc 3.3.3 on cygwin.
@ 2005-06-27 13:37 北斗 星君
  0 siblings, 0 replies; only message in thread
From: 北斗 星君 @ 2005-06-27 13:37 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: 2580 bytes --]

I am a middle school student in China.

When I use CygWin to build a cross-compiler on Win32,It is not work.
The error is lacking of machname.h.

I try to build it twice.But it is also not working.

The error is like below.

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
-uCouldn't find the file.
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


And I don't know where to download the patch,and how to let the gcc be 
build.

I download the gcc-3.3.3-core.tar.gz form 
http://ftp.gnu.org/gnu/gcc/release/gcc-3.3.3/

Wait for your answer.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-27 13:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-27 13:37 I couldn't build gcc 3.3.3 on cygwin 北斗 星君

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