From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8316 invoked by alias); 15 May 2003 07:54:06 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 8138 invoked from network); 15 May 2003 07:54:04 -0000 Received: from unknown (HELO hermes.fm.intel.com) (192.55.52.18) by sources.redhat.com with SMTP; 15 May 2003 07:54:04 -0000 Received: from talaria.fm.intel.com (talaria.fm.intel.com [10.1.192.39]) by hermes.fm.intel.com (8.11.6p2/8.11.6/d: outer.mc,v 1.57 2003/05/13 17:32:58 rfjohns1 Exp $) with ESMTP id h4F7nom04645 for ; Thu, 15 May 2003 07:49:51 GMT Received: from fmsmsxv040-1.fm.intel.com (fmsmsxvs040.fm.intel.com [132.233.42.124]) by talaria.fm.intel.com (8.11.6p2/8.11.6/d: inner.mc,v 1.32 2003/05/13 23:13:25 rfjohns1 Exp $) with SMTP id h4F7stm01629 for ; Thu, 15 May 2003 07:54:55 GMT Received: from fmsmsx26.fm.intel.com ([132.233.42.26]) by fmsmsxv040-1.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2003051500535907043 for ; Thu, 15 May 2003 00:53:59 -0700 Received: from NNWRBELENOV31 (nnwrbelenov31.inn.intel.com [10.125.17.184]) by fmsmsx26.fm.intel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id KQDPVA1F; Thu, 15 May 2003 00:54:02 -0700 To: gcc@gcc.gnu.org Subject: Cross compiler (alpha-linux on cygwin host) build problems From: Roman Belenov Date: Thu, 15 May 2003 07:54:00 -0000 Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg01498.txt.bz2 I'm trying to setup compiler for alpha-dec-linux target on Cygwin host. The problem is that during compilation of libgcc I get ------------------------------------------------------------------------ /build/gcc/gcc/xgcc -B/build/gcc/gcc/ -B/usr/local/cross/alpha/alpha-dec-linux/bin/ -B/usr/local/cross/alpha/alpha-dec-linux/lib/ -isystem /usr/local/cross/alpha/alpha-dec-linux/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -mieee -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/cygdrive/e/tmp/2/gcc-3.3/gcc -I/cygdrive/e/tmp/2/gcc-3.3/gcc/. -I/cygdrive/e/tmp/2/gcc-3.3/gcc/config -I/cygdrive/e/tmp/2/gcc-3.3/gcc/../include -DL_muldi3 -c /cygdrive/e/tmp/2/gcc-3.3/gcc/libgcc2.c -o libgcc/./_muldi3.o In file included from tconfig.h:19, from /cygdrive/e/tmp/2/gcc-3.3/gcc/libgcc2.c:36: /cygdrive/e/tmp/2/gcc-3.3/gcc/config/alpha/linux.h:68:20: signal.h: No such file or directory /cygdrive/e/tmp/2/gcc-3.3/gcc/config/alpha/linux.h:69:26: sys/ucontext.h: No such file or directory make[2]: *** [libgcc/./_muldi3.o] Error 1 make[2]: Leaving directory `/build/gcc/gcc' make[1]: *** [libgcc.a] Error 2 make[1]: Leaving directory `/build/gcc/gcc' make: *** [all-gcc] Error 2 ------------------------------------------------------------------------ so that it seems that glibc is required to compile libgcc. Since I don't have target glibc yet I tried to extract required headers from glibc source manually, but found this task nontrivial (I stopped when according to my assumptions one file had to #include_next another one located at exactly the same place - probably I just don't correctly grok directory structure of glibc headers). Is there some (semi)automatic way to overcome this problem ? Any pointers are appreciated (I looked through several cross-compilation pages, but it seems that libgcc was self-sufficient for targets described). -- With regards, Roman.