Re: PCH and moving gcc binaries after installation

2005-03-30 Thread Daniel Kegel
Jim Wilson wrote: Moving trees around has worked for a long time, but it required manually setting the GCC_EXEC_PREFIX environment variable. Cygnus got this working reliably sometime in the early '90s I think. In gcc-3.0 and later, there is code (make_relative_prefix) that computes and sets G

Re: PCH and moving gcc binaries after installation

2005-03-30 Thread James E Wilson
Dan Kegel wrote: Moving an installed gcc/glibc crosstoolchain to a different directory was not allowed for gcc-2.96 and below, I seem to recall, but became permissible around gcc-3.0. Moving trees around has worked for a long time, but it required manually setting the GCC_EXEC_PREFIX environment v

Re: PCH and moving gcc binaries after installation

2005-03-30 Thread Dan Kegel
Daniel Jacobowitz wrote: On Tue, Mar 29, 2005 at 10:37:33PM -0800, Dan Kegel wrote: Since I need to handle old versions of gcc, I'm going to code up a little program to fix all the embedded paths anyway, but I was surprised by the paths in the pch file. Guess I shouldn't have been, but now I'm a

Re: PCH and moving gcc binaries after installation

2005-03-30 Thread Daniel Jacobowitz
On Tue, Mar 29, 2005 at 10:37:33PM -0800, Dan Kegel wrote: > Since I need to handle old versions of gcc, I'm > going to code up a little program to fix all > the embedded paths anyway, but I was surprised > by the paths in the pch file. Guess I shouldn't > have been, but now I'm a little less conf

Re: PCH and moving gcc binaries after installation

2005-03-30 Thread Marcin Dalecki
On 2005-03-30, at 08:37, Dan Kegel wrote: Since I need to handle old versions of gcc, I'm going to code up a little program to fix all the embedded paths anyway, but I was surprised by the paths in the pch file. Guess I shouldn't have been, but now I'm a little less confident that this will work.

PCH and moving gcc binaries after installation

2005-03-29 Thread Dan Kegel
Moving an installed gcc/glibc crosstoolchain to a different directory was not allowed for gcc-2.96 and below, I seem to recall, but became permissible around gcc-3.0. (Sure, there are still embedded paths, but they don't seem to be used in practice. I don't really trust it, but that's what I observ