This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Installation proposal
- From: Jim Wilson <wilson at redhat dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: 27 Feb 2002 10:49:05 -0800
- Subject: Re: Installation proposal
- References: <200202271812.NAA26666@makai.watson.ibm.com>
> Or, are you saying that you somehow want GCC to recognize the
>directory into which it was installed and access all files with relative
>paths so that $prefix no longer would be built into the compiler and only
>used for installation?
Gcc already tries to create relative paths internally if GCC_EXEC_PREFIX is not
specified. See the make_relative_prefix function in gcc.c. However, prefix
is still built in, because we need to compare prefix against exec_prefix
to compute the relative paths.
Jim