This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Using GCC_EXEC_PREFIX
- To: gcc at gcc dot gnu dot org
- Subject: Using GCC_EXEC_PREFIX
- From: Zhi-Wei Lu <zwluxx at chopin dot cipic dot ucdavis dot edu>
- Date: Wed, 30 May 2001 15:48:18 -0700
- cc: zwluxx at chopin dot cipic dot ucdavis dot edu
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