This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: 4.6.3 build error: go (gccgo) does not seem to see configure
Michael Shell <list1@michaelshell.org> writes:
> Yes, there is a gcc-build/gcc/config.h which pulls in auto-host.h and I
> don't see any file permission problems. The compile command was run in
> gcc-build/gcc My g++ version is 4.1.2. Perhaps there is an include bug with
> 4.1.2.
Possible but unlikely.
> What about potential problems with environment variables that
> could do this?
Possible but unlikely. E.g., you could have set C_INCLUDE_PATH to
../../gcc-4.6.3/libdecnumber, but I assume that you didn't.
> Perhaps I should try building using bootstrapping.
I would expect that to work, but I have no idea why it would be
required. You could also try configuring using an absolute path to
configure rather than a relative path.
> I guess the question becomes: What possible circumstances could cause
>
> g++ -c -H -I ../../gcc-4.6.3/gcc/go -I ../../gcc-4.6.3/gcc/go/gofrontend
> -I. -Igo -I../../gcc-4.6.3/gcc ......
>
> running in gcc-build/gcc to fail to pull in gcc-build/gcc/config.h ?
I really can't think of anything. Sorry. It would be great if you
could debug this problem, although in the end it will probably turn out
to be something dumb.
Ian