Hi, I am using latest cygwin to build cross gcc for linux. I am using crosstool-0.43 with demo-i686.sh modified to have as given below. I dont know if I am right in this config. or any this else is need, but build stop with attached error. I have also posted the question in crossgcc group.
As seen I have latest ld in cygwin. Thanks a lot. in demo-i686.sh eval `cat i686.dat gcc-4.2.2-glibc-2.7-tls.dat` sh all.sh --notest --nounpack gcc-4.2.2-glibc-2.7-tls.dat IS: BINUTILS_DIR=binutils-2.18 GCC_CORE_DIR=gcc-4.2.2 GCC_DIR=gcc-4.2.2 GLIBC_DIR=glibc-2.7 LINUX_DIR=linux-2.6.23.9 LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0 GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.5 GDB_DIR=gdb-6.7.1 But the script stops + /cygdrive/e/crosstool-0.43/build/i686-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/glibc-2.7/configure --prefix=/usr --build=i686-pc-cygwin --host=i686-unknown linux-gnu --without-cvs --disable-sanity-checks --with-headers=/cygdrive/e/crosstool/gcc- 4.2.2-glibc-2.7/i686-unknown-linux-gnu/i686-unknown-linux-gnu/inc ude --enable-hacker-mode checking build system type... i686-pc-cygwin checking host system type... i686-unknown-linux-gnu configure: running configure fragment for add-on linuxthreads linuxthreads disabled because nptl add-on is also in use configure: running configure fragment for add-on nptl checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdep /unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/ nix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i 86/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldb -96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for i686-unknown-linux-gnu-gcc... gcc checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc... gcc checking how to run the C preprocessor... gcc -E checking for i686-unknown-linux-gnu-g++... no checking for i686-unknown-linux-gnu-c++... no checking for i686-unknown-linux-gnu-gpp... no checking for i686-unknown-linux-gnu-aCC... no checking for i686-unknown-linux-gnu-CC... no checking for i686-unknown-linux-gnu-cxx... no checking for i686-unknown-linux-gnu-cc++... no checking for i686-unknown-linux-gnu-cl.exe... no checking for i686-unknown-linux-gnu-FCC... no checking for i686-unknown-linux-gnu-KCC... no checking for i686-unknown-linux-gnu-RCC... no checking for i686-unknown-linux-gnu-xlC_r... no checking for i686-unknown-linux-gnu-xlC... no checking for g++... g++ configure: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to [EMAIL PROTECTED] checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe is GNU as... yes checking whether /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld.exe is GNU ld... yes checking for /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe... /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/a .exe checking version of /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe... 2.17.50, ok checking for /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld.exe... /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/l .exe checking version of /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld.exe... 2.17.50, ok checking for pwd... /usr/bin/pwd checking for i686-unknown-linux-gnu-gcc... (cached) gcc checking version of gcc... 3.4.4, ok checking for gnumake... no checking for gmake... no checking for make... make checking version of make... 3.81, ok checking for gnumsgfmt... no checking for gmsgfmt... no checking for msgfmt... msgfmt checking version of msgfmt... 0.15, ok checking for makeinfo... makeinfo checking version of makeinfo... 4.8, ok checking for sed... sed checking version of sed... 4.1.5, ok checking for autoconf... autoconf checking whether autoconf works... yes checking whether ranlib is necessary... yes checking LD_LIBRARY_PATH variable... ok checking whether GCC supports -static-libgcc... -static-libgcc checking for bash... /usr/bin/bash checking for gawk... gawk checking for perl... /usr/bin/perl checking for install-info... /usr/bin/install-info checking for bison... /usr/bin/bison checking for signed size_t type... no checking for libc-friendly stddef.h... yes checking whether we need to use -P to assemble .S files... no checking whether .text pseudo-op must be used... yes checking for assembler global-symbol directive... .globl checking for .set assembler directive... no checking for assembler .type directive prefix... no checking for .symver assembler directive... no checking for ld --version-script... no *** WARNING: You should not compile GNU libc without versioning. Not using *** versioning will introduce incompatibilities so that old binaries *** will not run anymore. *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer). checking for .previous assembler directive... no checking for .popsection assembler directive... no checking for .protected and .hidden assembler directive... configure: error: assembler support for symbol visibility is required # my system is $ uname -a CYGWIN_NT-5.1 D3DTQM51 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin with $ ld -v GNU ld version 2.17.50 20060817 Thanks a lot, Suj.Renga