Message-ID: <8DD5D051D1D5D211A21F0008C73331CB0231BF09@CIXBJ01FFCORPGE> From: "Li, Baosheng (MED, CHN)" To: djgpp AT delorie DOT com, cygwin AT sourceware DOT cygnus DOT com Subject: gcc can not build cross compiler on solaris for redhat linux targ et Date: Sun, 16 Mar 2003 18:43:59 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2EBA8.F37A5930" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C2EBA8.F37A5930 Content-Type: text/plain; charset="GB2312" 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 `_dl_lazy AT GLIBC_2 DOT 1 DOT 1' /lib/libc.so.6: undefined reference to `_dl_dst_substitute AT GLIBC_2 DOT 1 DOT 1' /lib/libc.so.6: undefined reference to `_dl_out_of_memory AT GLIBC_2 DOT 2' I set LD_LIBRARY_PATH to ld-linux.so.2 path, no luck! any help really appreciate!!! Li Baosheng XRay Software Developer - GTO No.2,North Yong Chang Road Beijing Economic & Technological Development Area Beijing, P.R.China 100176 sametime account: Li, Baosheng * : (86010) 67881880ext.5476 * : (86010) 67881858 ------_=_NextPart_001_01C2EBA8.F37A5930 Content-Type: text/html; charset="GB2312" Content-Transfer-Encoding: quoted-printable gcc can not build cross compiler on solaris for redhat linux = target

Hello:
my configuration is: = ../gcc-3.2.2/configure --prefix=3D/usr/gcc/linux = --with-gnu-as=3D/usr/gcc/objdir/bin
utils/i486-linux-as   = --with-headers=3D/usr/gcc/linux/objdir/i486-linux/include --
with-libs=3D/usr/gcc/glib/lib = --target=3Di486-linux --host=3Dsparc-sun-solaris2.8 --li
bdir=3D/usr/gcc/linux/lib = --with-gxx-include-dir=3D/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 `_dl_lazy AT GLIBC_2 DOT 1 DOT 1'
/lib/libc.so.6: undefined = reference to `_dl_dst_substitute AT GLIBC_2 DOT 1 DOT 1'
/lib/libc.so.6: undefined = reference to `_dl_out_of_memory AT GLIBC_2 DOT 2'

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

any help really appreciate!!!
Li = Baosheng 
XRay Software Developer - GTO
No.2,North Yong Chang Road
Beijing = Economic & Technological Development Area
Beijing, = P.R.China      100176
sametime = account: Li, Baosheng
( : (86010) 67881880ext.5476
2 :  (86010) = 67881858

 


------_=_NextPart_001_01C2EBA8.F37A5930--