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" <sheryl@xxxxxxxxxxxxxxxx>
To: <gcc-help@xxxxxxxxxxx>
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