This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-2.95.2 hang with cpp
On Wed, Nov 29, 2000 at 10:33:19AM -0800, Jean Mao wrote:
> Zack:
>
> Thanks for getting back to me.
>
> I built gcc in a separate directory "objdir". I used default
> option for everything.
> I did:
> 1. srcdir/configure
> 2. make bootstrap
> 3. make install
> in the "objdir".
>
> I modified the "prefix" in the Makefile from "/usr/local"
> to one of my local directory
You must not modify the Makefile. Erase the objdir and start over,
using srcdir/configure --prefix=/where/you/want/it instead.
> I think I used sun 5.0 compiler. There is a "cpp" in the
> gcc_install_dir/bin. I think there are no any other "cpp"
> on my machine.
The program it's looking for ought to be named
gcc_install_dir/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/cpp. If
there's a program named 'cc1' in that directory, you're looking in the
right place.
zw