From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4248 invoked by alias); 14 Mar 2011 16:02:49 -0000 Received: (qmail 4227 invoked by uid 22791); 14 Mar 2011 16:02:46 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.67) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Mar 2011 16:02:40 +0000 Received: from wpaz24.hot.corp.google.com (wpaz24.hot.corp.google.com [172.24.198.88]) by smtp-out.google.com with ESMTP id p2EG2bGK029776 for ; Mon, 14 Mar 2011 09:02:38 -0700 Received: from pzk4 (pzk4.prod.google.com [10.243.19.132]) by wpaz24.hot.corp.google.com with ESMTP id p2EG2a6l011790 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 14 Mar 2011 09:02:36 -0700 Received: by pzk4 with SMTP id 4so941084pzk.1 for ; Mon, 14 Mar 2011 09:02:35 -0700 (PDT) Received: by 10.142.218.16 with SMTP id q16mr10761180wfg.5.1300118555654; Mon, 14 Mar 2011 09:02:35 -0700 (PDT) Received: from coign.google.com ([216.239.45.130]) by mx.google.com with ESMTPS id w32sm10430523wfh.7.2011.03.14.09.02.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Mar 2011 09:02:35 -0700 (PDT) From: Ian Lance Taylor To: Michael Zintakis Cc: gcc-help@gcc.gnu.org Subject: Re: building native cross compiler References: <4D7A37DD.8030205@googlemail.com> <4D7A5420.4000608@googlemail.com> <4D7A8A4D.2080706@googlemail.com> <4D7AB3BB.7060208@googlemail.com> <4D7CD348.2060509@googlemail.com> <4D7D40C8.3060707@googlemail.com> <4D7D666C.8010400@googlemail.com> <4D7D6FAA.70302@googlemail.com> <4D7D738C.2010407@googlemail.com> <4D7D756F.2090008@googlemail.com> <4D7D900E.5020406@googlemail.com> <4D7E3904.2010300@googlemail.com> Date: Mon, 14 Mar 2011 16:02:00 -0000 In-Reply-To: <4D7E3904.2010300@googlemail.com> (Michael Zintakis's message of "Mon, 14 Mar 2011 15:49:24 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-03/txt/msg00155.txt.bz2 Michael Zintakis writes: >>> ../../../gcc/libgcc/../libdecnumber/decContext.c:33:43: fatal error: string.h: No such file or directory >>> >> >> The question now is whether you have a C library for your target system. >> > Please elaborate Ian - what do you mean? A C library contains things like , , and the associated functions like fopen, strcpy, etc. GCC does not provide a C library. You've described your target in terms of processor, but not in terms of operating system. Some operating systems have a C library. Some do not. Either way, you're going to need one if you want to write C code. And you're going to cross-compiler your C library in order to cross-build programs that run on your target system. Ian