This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem building GCC-3.0.3 on Cygwin 1.3.9


Are you sure you are configuring to a different directory to the one that
gcc is installed into?

you should be doing the following:

#> mkdir gcc-build
#> cd gcc-build
#> ../gcc_3_0_3/configure
#> make bootstrap
#> make install

I often grab the latest version of gcc and compile under cygwin - the only
problem I get is the one I've documented before in the fastjar directory
(anyone else get this problem?) - fixed a bit messily by modifying the
makefile to do nothing.

Regards

---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com

----- Original Message -----
From: "Unmesh joshi" <unmesh_joshi@hotmail.com>
To: <gcc-help@gcc.gnu.org>
Sent: Monday, February 04, 2002 8:33 PM
Subject: Problem building GCC-3.0.3 on Cygwin 1.3.9


> I downloaded the latest cygwin from site and latest release of
> GCC-3.0.3.
> When i try to build gcc compiler by giving
> make bootstrap
>
> following error occurs
>
>
>
c:/gcc/bin/gcc  -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wm
> issing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H
> -DCY
> GWIN_CROSS_DIR=\"./i686-pc-cygwin\" -I. -I. -I../../gcc-3.0.3/gcc
> -I../../gcc-3.
> 0.3/gcc/. -I../../gcc-3.0.3/gcc/config -I../../gcc-3.0.3/gcc/../include -c
> ../..
> /gcc-3.0.3/gcc/c-parse.c
> In file included from tm.h:9,
>                  from ../../gcc-3.0.3/gcc/config/i386/xm-i386.h:39,
>                  from config.h:5,
>                  from c-parse.y:35:
> insn-flags.h:55: parse error before '&&' token
> In file included from config.h:12,
>                  from c-parse.y:35:
> insn-flags.h:55: parse error before '&&' token
> make[2]: *** [c-parse.o] Error 1
> make[2]: Leaving directory `/cygdrive/c/gccobj/gcc'
> make[1]: *** [stage1_build] Error 2
> make[1]: Leaving directory `/cygdrive/c/gccobj/gcc'
> make: *** [bootstrap] Error 2
> CYGWIN>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]