From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10037 invoked by alias); 16 Mar 2009 15:18:56 -0000 Received: (qmail 10026 invoked by uid 22791); 16 Mar 2009 15:18:55 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from mta-out.inet.fi (HELO kirsi2.inet.fi) (195.156.147.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 Mar 2009 15:18:48 +0000 Received: from [192.168.0.42] (88.192.88.204) by kirsi2.inet.fi (8.5.014) id 49B91142002409CB; Mon, 16 Mar 2009 17:18:43 +0200 Message-ID: <49BE6EAC.8090505@wippies.com> Date: Mon, 16 Mar 2009 15:18:00 -0000 From: Kai Ruottu User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: gowrisankar loganathan CC: gcc-help@gcc.gnu.org Subject: Re: Help needed to buid GCC for NEC V850 References: <49BE6207.9090401@wippies.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: 2009-03/txt/msg00171.txt.bz2 gowrisankar loganathan wrote: > Thanks for the information, but I didn't find the file fcntl.h in the downloaded package, > I used gcc-core-4.3.3.tar.bz2 > Also I searched for the definition 'FD_CLOEXEC' I didn't find this from any of the files. The 'gcc' in your log is the Cygwin GCC ! So it uses its own "Cygwin target headers" when compiling something for Cygwin : >>> gcc -c -DHAVE_CONFIG_H -g -O2 -I. >>> -I../../Gcc_Source/gcc-4.3.3/libiberty/../include But other headers could be required additionally... So the 'fcntl.h' should be in your Cygwin target headers in '/usr/include' or something ! A sanity check : Can your GCC compile and link anything? For instance the famous "Hello World" ? If you cannot do this, how you could imagine your compiler to succeed in compiling GCC from its sources ? Probably it is possible to download and install only the GCC part but no headers and no libraries for Cygwin...