From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21606 invoked by alias); 9 Oct 2003 15:20:41 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 21596 invoked from network); 9 Oct 2003 15:20:39 -0000 Received: from unknown (HELO qbert.vosn.net) (205.214.76.4) by sources.redhat.com with SMTP; 9 Oct 2003 15:20:39 -0000 Received: from mail.svcable.net ([67.28.116.50] helo=tpa21p) by qbert.vosn.net with asmtp (Exim 4.24) id 1A7cam-0006Gq-M6; Thu, 09 Oct 2003 09:20:41 -0600 Message-ID: <013901c38e78$d916ddc0$6401a8c0@tpa21p> From: "Sheryl Canter" To: "Andy Howell" , References: <006601c38cd5$0363f130$ad036c42@tpa21p> <007901c38d43$b5ed2a10$6401a8c0@tpa21p> <005701c38da1$1dd909c0$6401a8c0@tpa21p> <00d101c38db6$61120100$6401a8c0@tpa21p> <035301c38de1$4dce4e70$6401a8c0@tpa21p> <03c001c38dec$e95efaa0$6401a8c0@tpa21p> <3F856FC9.9010707@austin.rr.com> Subject: Re: need help compiling gcc for Windows Date: Thu, 09 Oct 2003 15:20:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - qbert.vosn.net X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - permutations.com X-SW-Source: 2003-10/txt/msg00154.txt.bz2 Someone on the mingw-msys list was able to identify the problem. I was using a hardcoded paths instead of relative ones to execute configure, and this was causing confusion for gengtype. When I switched to a relative path, the problem went away. Of course, now I have a new problem. It's still not building. - Sheryl ----- Original Message ----- From: "Andy Howell" To: Cc: "Sheryl Canter" Sent: Thursday, October 09, 2003 10:25 AM Subject: Re: need help compiling gcc for Windows Sheryl Canter wrote: > If no ideas on the problem below, then at least help me to find it myself? > > I'm knew to Unix and can't tell exactly what is happening when I issue the > command "make bootstrap". If I knew what files were being executed, perhaps > I could find the problem. > > Someone please help?? > > - Sheryl > > > ----- Original Message ----- > From: "Sheryl Canter" > To: > Sent: Wednesday, October 08, 2003 5:15 PM > Subject: Re: need help compiling gcc for Windows > > > Please, somebody help me with this! I'm completely stuck. > > The configure is completing correctly (as far as I can tell), but the > build didn't work. It works up to this point: > > ------------ > Bootstrapping the compiler > make[1]: Entering directory `/c/gcc-objdir/gcc' > make AR_FOR_TARGET="ar" \ > RANLIB_FOR_TARGET="ranlib" \ > CC="gcc" libdir=/c/gcc-3.3.1/lib LANGUAGES="c " \ > CFLAGS="-g " MAKEINFO="makeinfo --no-split" \ > MAKEINFOFLAGS="" COVERAGE_FLAGS= > make[2]: Entering directory `/c/gcc-objdir/gcc' > ./gengtype > /c/gcc-srcdir/gcc-3.3.1/gcc/../include/ansidecl.h: No such file or directory > make[2]: *** [s-gtype] Error 1 > make[2]: Leaving directory `/c/gcc-objdir/gcc' > make[1]: *** [stage1_build] Error 2 > make[1]: Leaving directory `/c/gcc-objdir/gcc' > make: *** [bootstrap] Error 2 > ------------ > > That file spec with the error message looks a little strange, but it > correctly points to the file. ansidecl.h can be found here: > > /c/gcc-srcdir/gcc-3.3.1/include/ansidecl.h > > Any idea why the build didn't work? How do I correct this problem? > > - Sheryl > Its been a long time since I built gcc, and never have done it on windows... Is gengtype a shell script? If so, cd to /c/gcc-objdir/gcc and run: sh -x ./gengtype This may give some idea why it is not finding the file. If it is an binary executable, then if you have the "strace" command, you could do strace -o out ./gengtype Look in the file 'out' to see what it doing. You could grep: egrep 'open|stat' out Which will show you the files that gengtype is trying to open or find info on (stat). Hope this helps. Andy