cross gcc compiler on OpenSUSE - help

Hi All

I want create build machine for three architecture (i386, amd64 and ia64) on 32bit machine on OpenSUSE 10.0

I installed:
cross-i386-gcc-icecream-backend-4.3.1_20080507-7.1
cross-i386-binutils-2.18.50.20080409-12.1

cross-x86_64-gcc-icecream-backend-4.3.1_20080507-7.1
cross-x86_64-binutils-2.18.50.20080409-12.1

cross-ia64-gcc-icecream-backend-4.3.1_20080507-7.1
cross-ia64-binutils-2.18.50.20080409-12.1

And what now?

I try create with this mini howto, but i do not understand some step, and i get many errors :S
cross compiler mini howto
How to build an i386->Sparc Linux cross-compiler using GCC

Please help me.

BR
// Motokultivator

Hi again

I try again, and now i get error with linking. Anybody help me?

#> rpm -Uvh cross-x86_64-binutils-2.18.50.20080409-12.1

#> cd /tmp
#/tmp> wget ftp://mirror.switch.ch/pool/1/mirror/opensuse/distribution/11.0/repo/oss/suse/x86_64/glibc-devel-2.8-14.1.x86_64.rpm
#/tmp> wget ftp://mirror.switch.ch/pool/1/mirror/opensuse/distribution/11.0/repo/oss/suse/x86_64/glibc-2.8-14.1.x86_64.rpm
#/tmp> wget http://ftp.gnu.org/gnu/gcc/gcc-4.3.3/gcc-4.3.3.tar.gz

Unpack glibc-devel-2.8-14.1.x86_64.rpm and copy /usr/lib64 to /opt/cross/x86_64-linux/lib
Unpack glibc-2.8-14.1.x86_64.rpm and copy lib64 to /opt/cross/x86_64-linux/lib

#/tmp> tar xzvf gcc-4.3.3.tar.gz
#/tmp/gcc-4.3.3> mkdir objdir
#/tmp/gcc-4.3.3/objdir>../configure --prefix=/opt/cross/ --target=x86_64-linux --enable-static --disable-multilib --enable-languages=c,c++ -v
#/tmp/gcc-4.3.3/objdir> make
....
/opt/cross//x86_64-linux/bin/ld: skipping incompatible /opt/cross//x86_64-linux/lib/libc.so when searching for -lc
/opt/cross//x86_64-linux/bin/ld: skipping incompatible /opt/cross//x86_64-linux/lib/libc.a when searching for -lc
/opt/cross//x86_64-linux/bin/ld: skipping incompatible /opt/cross//x86_64-linux/lib/libc.so when searching for -lc
/opt/cross//x86_64-linux/bin/ld: skipping incompatible /opt/cross//x86_64-linux/lib/libc.a when searching for -lc
/opt/cross//x86_64-linux/bin/ld: skipping incompatible /opt/cross/x86_64-linux/bin/../lib/libc.so when searching for -lc
/opt/cross//x86_64-linux/bin/ld: skipping incompatible /opt/cross/x86_64-linux/bin/../lib/libc.a when searching for -lc
/opt/cross//x86_64-linux/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/tmp/gcc-3.3.6/objdir/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/tmp/gcc-3.3.6/objdir/gcc'
make: *** [all-gcc] Error 2
ankebut:~ # uname -a
Linux ankebut 2.6.25.20-0.1-pae #1 SMP 2008-12-12 20:30:38 +0100 i686 i686 i386 GNU/Linux
ankebut:~ # cat /etc/*release
openSUSE 11.0 (i586)
ankebut:~ # gcc -v
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3 --enable-version-specific-runtime-libs --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux)

BR
Motokultivator