GCC hanging at CPP on Solaris 5.7 machine.

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri Mar 10 00:28:00 GMT 2000


>    Where do I go from here?  Is there anything further I
> should do to help figure out what's going on?  (Have I done
> something unforgivably stupid?) 

It seems you did not install the pre-built binary into the location
for which it was build, namely /usr/local. As a result, gcc can't find
its 'specs' file, which describes how to invoke the various tools. The
behaviour you are seeing is strange and may be a bug, but I'm not sure
gcc is designed to support this kind of operation.

You can try to invoke it with -spec=<path to .specs file> and see
whether this helps; you may also want to invoke it with
-B/tmp/.../path-where-cc1-lives/. To see what it is doing, you don't
need to run truss; adding -v should give the same information.

Regards,
Martin



More information about the Gcc-bugs mailing list