This is the mail archive of the gcc-bugs@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]

Re: gcc 2.95{,.1} looping forever


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


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