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]

Using GCC_EXEC_PREFIX


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



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