From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19761 invoked by alias); 17 Mar 2009 09:26:55 -0000 Received: (qmail 19749 invoked by uid 22791); 17 Mar 2009 09:26:55 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from snt0-omc4-s27.snt0.hotmail.com (HELO snt0-omc4-s27.snt0.hotmail.com) (65.55.90.230) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Mar 2009 09:26:49 +0000 Received: from SNT102-W74 ([65.55.90.199]) by snt0-omc4-s27.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 17 Mar 2009 02:26:48 -0700 Message-ID: From: gowrisankar loganathan To: CC: Subject: RE: Help needed to buid GCC for NEC V850 Date: Tue, 17 Mar 2009 09:26:00 -0000 In-Reply-To: <49BE6EAC.8090505@wippies.com> References: <49BE6207.9090401@wippies.com> <49BE6EAC.8090505@wippies.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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/msg00181.txt.bz2 I have Mingw in the same PC which compiles all programes corrrectly.=20 ---------------------------------------- > Date: Mon, 16 Mar 2009 17:22:20 +0200 > From: kai.ruottu@wippies.com > To: lgowris@hotmail.com > CC: gcc-help@gcc.gnu.org > Subject: Re: Help needed to buid GCC for NEC V850 > > gowrisankar loganathan wrote: > >> Thanks for the information, but I didn't find the file fcntl.h in the do= wnloaded 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... _________________________________________________________________ So many new options, so little time. Windows Live Messenger. http://www.microsoft.com/india/windows/windowslive/messenger.aspx