This is the mail archive of the gcc@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: Using GCC_EXEC_PREFIX


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


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