This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 2.95{,.1} looping forever
- To: "Alain Magloire" <alain at qnx dot com>,gcc-bugs at gcc dot gnu dot org
- Subject: Re: gcc 2.95{,.1} looping forever
- From: Andris Pavenis <andris at stargate dot astr dot lu dot lv>
- Date: Thu, 19 Aug 1999 10:31:25 +0000
- Organization: AI LU
- References: <199908181528.LAA30560@qnx.com>
On Wed, 18 Aug 1999, Alain Magloire wrote:
> Bonjour
>
> # GCC_EXEC_PREFIX=/usr/local/ gcc -v c.c
> ....
> ##
>
> will put the driver in looping mode when using the builtin specs.
> There is nothing particular about "/usr/local" any path will do.
>
I guess You used --prefix=/usr/local (default) when configured gcc-2.95.
The the reason is simple:
gcc-2.95 installs preprocessor executeble in $prefix/bin (it's
different from cpp used by gcc itself. If You specify
GCC_EXEC_PREFIX=/usr/local gcc errorously finds
wrong cpp executable which tries recursively to call itself.
I had the same problem for target=i586-pc-msdosdjgpp when
similar GCC_EXEC_PREFIX were used (Tested, it happens also
in Linux, I had prefox=/usr though)
Andris