This is the mail archive of the gcc-help@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]
Other format: [Raw text]

gcc for redhat linux target on solaris


Hello: 
my configuration is: ../gcc-3.2.2/configure --prefix=/usr/gcc/linux --with-gnu-as=/usr/gcc/objdir/bin 
utils/i486-linux-as --with-headers=/usr/gcc/linux/objdir/i486-linux/include -- 
with-libs=/usr/gcc/glib/lib --target=i486-linux --host=sparc-sun-solaris2.8 --li 
bdir=/usr/gcc/linux/lib --with-gxx-include-dir=/usr/gcc/linux/include 
error: checking for uintptr_t... no 
checking whether the C compiler (/usr/gcc/linux/objdir/gcc/xgcc -B/usr/gcc/linux 
/objdir/gcc/ -B/usr/gcc/linux/i486-linux/bin/ -B/usr/gcc/linux/i486-linux/lib/ - 
isystem /usr/gcc/linux/i486-linux/include -O2 -g -O2 ) works... no 
configure: error: installation or configuration problem: C compiler cannot creat 
e executables. 
make: *** [configure-target-libiberty] Error 1 

detail information in config.log: 
/usr/gcc/objdir/binutils/i486-linux-ld: warning: ld-linux.so.2, needed by /lib/l 
ibc.so.6, not found (try using -rpath or -rpath-link) 
/lib/libc.so.6: undefined reference to 
/lib/libc.so.6: undefined reference to 
/lib/libc.so.6: undefined reference to 

I set LD_LIBRARY_PATH to ld-linux.so.2 path, no luck! 

any help really appreciate!!! 


______________________________________

===================================================================


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