Re: Failed building GCC 4.1.2 on Cygwin

2007-03-29 Thread wei
Thanks very much! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

RE: Failed building GCC 4.1.2 on Cygwin

2007-03-29 Thread Dave Korn
On 29 March 2007 16:03, wei wrote: > When building it I found an error in auto-generated file > /gcc/configargs.h.If having interest,copy the code below and compile it > with gcc,see what the results will be. > > static const char configuration_arguments[] = "../gcc-4.1.2/configure > -prefix=/opt

Re: Failed building GCC 4.1.2 on Cygwin

2007-03-29 Thread wei
Thank you very much! I've successfully builded gcc-core-4.1.2 and gcc-g++-4.1.2.You are right.The reason is I used mingw's make, not cygwin's. When building it I found an error in auto-generated file /gcc/configargs.h.If having interest,copy the code below and compile it with gcc,see what the res

Re: Failed building GCC 4.1.2 on Cygwin

2007-03-27 Thread Brian Dessent
wei wrote: > Sorry,I don't know.When setting up cygwin,there is an option of path format > and > maybe I chose win32 style. I don't think that would do it. There is no option in setup.exe that I'm aware of that would cause c:/foo/bar style paths to crop up in a build. > I didn't change the con

Re: Failed building GCC 4.1.2 on Cygwin

2007-03-27 Thread wei
Hello,Brian.Thank you for reply! > why are there win32 paths here? Sorry,I don't know.When setting up cygwin,there is an option of path format and maybe I chose win32 style. > Compiling gcc is not something a newcomer should do. If you > just want gcc installed, select the package in setup.exe

Re: Failed building GCC 4.1.2 on Cygwin

2007-03-27 Thread Brian Dessent
wei wrote: > After compiling nearly one hour,it stopped and reported the errors below: > > gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissi > ng-prototypes -Wold-style-definition -Wmissing-format-attribute > -DHAVE_CONFIG > _H -I. -I. -I../../gcc/gcc -I../..