This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Finding compiler
- From: LLeweLLyn Reese <llewelly at lifesupport dot shutdown dot com>
- To: Joseph Felps <joe_felps at bellsouth dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 09 Jul 2003 11:09:35 -0700
- Subject: Re: Finding compiler
- References: <3F072095.5090207@bellsouth.net>
Joseph Felps <joe_felps@bellsouth.net> writes:
> This is the error I get:
>
> You must set the environment variable CC to a working compiler. Here's
> what I did. I compiled and installed gcc-3.3 to /usr/local/gcc-3.3/
Good. Always install gcc in its own directory.
> I then uninstalled the compiler that comes with debian, which is gcc
> 2.95.
Bad. If you wish to link with C++ libs installed by your
distribution's package manager, you will need to use this compiler
- but you removed it. I suggest you re-install the .debs for gcc
2.95, or upgrade to a newer release that is based on newer gcc.
> Now i tried to get this set up right so CC would look to
> gcc-3.3 with update-alternatives, but I have been unable to figure it
> out. I understand the error but I don't know how to fix it.
[snip]