This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using GCC_EXEC_PREFIX
- To: Zhi-Wei Lu <zwluxx at chopin dot cipic dot ucdavis dot edu>
- Subject: Re: Using GCC_EXEC_PREFIX
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 30 May 2001 23:50:17 -0300
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200105302248.f4UMmIs09514@chopin.cipic.ucdavis.edu>
On May 30, 2001, Zhi-Wei Lu <zwluxx@chopin.cipic.ucdavis.edu> wrote:
> export GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib/
> (the redhat 6.2 glibc 2.1 compatible library) and try to compile anything,
> the compiler still use /usr/include instead of /usr/i386-glibc21-linux/include.
Possibly because GCC 2.95 still didn't have support for moving
installations that 2.96 does and 3.0 will do, that looks for the
standard include search path in a pathname relative to
GCC_EXEC_PREFIX. Anyway, what if you set
GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/ ?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me