This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GCC hanging at CPP on Solaris 5.7 machine.


>    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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]