Using GCC_EXEC_PREFIX
Zhi-Wei Lu
zwluxx@chopin.cipic.ucdavis.edu
Wed May 30 15:48:00 GMT 2001
Hi gcc guru,
I have just finished compiling gcc 2.95.3 on a Redhat 7.1 system.
When I set
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.
The stock redhat compiler gcc 2.96 works fine with the compatible libary.
How could I configure 2.95.3 so that it will work with the compatible library?
I notice that
strings /usr/bin/gcc | grep GCC_EXEC_PREFIX gives (for gcc 2.96)
GCC_EXEC_PREFIX
GCC_EXEC_PREFIX=
the same command on my gcc 2.95.3 gives only
GCC_EXEC_PREFIX
Thanks for your help
--
Zhi-Wei Lu
CIPIC (Center for Image Processing and Integrated Computing)
UC Davis Phone: (530)-752-0494
Davis, CA 95616 Fax: (530)-752-8894
More information about the Gcc
mailing list