Using GCC_EXEC_PREFIX
Alexandre Oliva
aoliva@redhat.com
Wed May 30 19:50:00 GMT 2001
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
More information about the Gcc
mailing list