Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 30 Mar 2003 18:50:09 +0530 (IST) From: "Vinay Chiniwar" To: cygwin AT cygwin DOT com Subject: Cygwin Hosted Linux (x86) targetted cross compiler problem Message-Id: Hi, 1. We are building crossgcc tool chain for the following : host - cygwin build - cygwin target- Linux(x86) meaning, a crossgcc built on CYGWIN, hosted on CYGWIN, but to produce code that will run on Linux/x86 platform. 2. our environment is as below : Windows 98/ CYGWIN release 1.3.21 / i686 3. when we try to configure the Binutils, the configuration script hangs on the following line. ...checking whether to build shared libraries... no checking whether to build static libraries... yes 4. we are attaching the build_tools.sh script that we are using to do the job, as well as the log file where the configuration hangs in this message. Please let us know what we are missing. build_tools.sh: ............. tar jxf source/binutils-2.12.tar.bz2 pushd binutils-2.12 mkdir build-${CHIP}-linux pushd build-${CHIP}-linux LDFLAGS='--static' CFLAGS='--static' ./configure \ --target=i686-pc-linux-gnu \ --host=i686-pc-cygwin \ --build=i686-pc-cygwin \ --prefix=${PRO_INSTALL_PREFIX} ${FP} make make install log file: ........ Configuring for a i686-pc-cygwin host. Created "Makefile" in /sys/build_tools/binutils-2.12 using "mh-frag" Configuring intl... creating cache ../config.cache checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking whether make sets ${MAKE}... yes checking for gcc... gcc checking whether the C compiler (gcc -g -O2 ) works... yes checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for POSIXized ISC... no checking for ANSI C header files... yes checking for working const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for unistd.h... yes checking for getpagesize... yes checking for working mmap... no checking for argz.h... no checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... no checking for malloc.h... yes checking for string.h... yes checking for unistd.h... (cached) yes checking for values.h... no checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for stpcpy... no checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... yes checking for gettext in libc... no checking for bindtextdomain in -lintl... yes checking for gettext in libintl... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext updating cache ../config.cache creating ./config.status creating Makefile creating config.h linking ./libgettext.h to libintl.h Configuring libiberty... loading cache ../config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... makeinfo checking for perl... no checking host system type... i686-pc-cygwin checking build system type... i686-pc-cygwin checking for ar... ar checking for ranlib... (cached) ranlib checking for gcc... (cached) gcc checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for POSIXized ISC... no checking for working const... (cached) yes checking for inline... (cached) inline checking for a BSD compatible install... (cached) /usr/bin/install -c checking how to run the C preprocessor... (cached) gcc -E checking for sys/file.h... yes checking for sys/param.h... (cached) yes checking for limits.h... (cached) yes checking for stdlib.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... yes checking for sys/time.h... yes checking for time.h... yes checking for sys/resource.h... yes checking for sys/stat.h... yes checking for sys/mman.h... yes checking for fcntl.h... yes checking for alloca.h... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking for ANSI C header files... (cached) yes checking for uintptr_t... yes checking whether the C compiler (gcc -g -O2 ) works... yes checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no checking for asprintf... yes checking for atexit... yes checking for basename... no checking for bcmp... yes checking for bcopy... yes checking for bsearch... yes checking for bzero... yes checking for calloc... yes checking for clock... yes checking for ffs... yes checking for getcwd... (cached) yes checking for getpagesize... (cached) yes checking for index... yes checking for insque... no checking for memchr... yes checking for memcmp... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for mkstemps... no checking for putenv... (cached) yes checking for random... yes checking for rename... yes checking for rindex... yes checking for setenv... (cached) yes checking for sigsetmask... no checking for strcasecmp... (cached) yes checking for strchr... (cached) yes checking for strdup... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for tmpnam... yes checking for vasprintf... yes checking for vfprintf... yes checking for vprintf... yes checking for vsprintf... yes checking for waitpid... yes checking whether alloca needs Cray hooks... no checking stack direction for C alloca... -1 checking for pid_t... yes checking for vfork.h... no checking for working vfork... yes checking for _doprnt... no checking for sys_errlist... yes checking for sys_nerr... yes checking for sys_siglist... no checking for getrusage... yes checking for on_exit... yes checking for psignal... no checking for strerror... yes checking for strsignal... yes checking for sysconf... yes checking for times... yes checking for sbrk... yes checking for gettimeofday... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... yes checking for getpagesize... (cached) yes checking for working mmap... (cached) no checking for working strncmp... yes updating cache ../config.cache creating ./config.status creating Makefile creating testsuite/Makefile creating config.h Configuring opcodes... loading cache ../config.cache checking for Cygwin environment... yes checking for mingw32 environment... no checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking build system type... i686-pc-cygwin checking for strerror in -lcposix... no checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... found checking for working automake... missing checking for working autoheader... found checking for working makeinfo... found checking for ar... (cached) ar checking for ranlib... (cached) ranlib checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -O2 ) works... yes checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... file_magic file format pei*- i386(.*architecture: i386)? checking for object suffix... o checking for executable suffix... .exe checking for ranlib... (cached) ranlib checking for strip... strip updating cache ../config.cache loading cache ../config.cache within ltconfig checking for objdir... .libs checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if gcc static flag -static works... yes finding the maximum length of command line arguments... 196609 checking if gcc supports -c -o file.o... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... Win32 ld.exe checking command to parse /usr/bin/nm -B output... ok checking if libtool supports shared libraries... yes checking if package supports dlls... no checking whether to build shared libraries... no checking whether to build static libraries... yes Regards, Vinay Chiniwar, Programmer, Altosys Software Technologies Ltd., India. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/