This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: test out the newly install gcc
- From: Jim Wilson <wilson at tuliptree dot org>
- To: Andrew Lui <andrew at integnology dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 07 May 2003 00:27:58 -0400
- Subject: Re: test out the newly install gcc
- References: <3EB3DD71.6060202@integnology.com>
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