This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: test out the newly install gcc


Andrew Lui wrote:
How can I test whether the gcc is working or not?

Looks like you already tested it, and it isn't working.


g++: installation problem, cannot exec `cpp0': No such file or directory

Looks like an installation problem. Make sure that you are running the right g++ binary. You might have multiple ones installed, and you might be running the wrong one. If you are using sh, try "type g++". For csh, which g++ should work.


The -v option might give clues as to what is wrong. Also, try --print-search-dirs. If cpp0 isn't on any of the search directories, then g++ won't be able to find it. If cpp0 doesn't exist at all then something is seriously wrong with the install. If cpp0 is in a directory not being searched, then maybe gcc was installed in the wrong place.

Jim


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