From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6870 invoked by alias); 16 Mar 2009 14:59:09 -0000 Received: (qmail 6862 invoked by uid 22791); 16 Mar 2009 14:59:08 -0000 X-SWARE-Spam-Status: No, hits=-1.8 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; Mon, 16 Mar 2009 14:59:02 +0000 Received: from SNT102-W75 ([65.55.90.200]) by snt0-omc4-s27.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 16 Mar 2009 07:59:01 -0700 Message-ID: From: gowrisankar loganathan To: CC: Subject: RE: Help needed to buid GCC for NEC V850 Date: Mon, 16 Mar 2009 14:59:00 -0000 In-Reply-To: <49BE6207.9090401@wippies.com> References: <49BE6207.9090401@wippies.com> Content-Type: text/plain; charset="Windows-1252" 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/msg00170.txt.bz2 Thanks for the information, but I didn't find the file fcntl.h in the downl= oaded 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. =20 With Thanks & Regard, Gowrisankar Loganathan ---------------------------------------- > Date: Mon, 16 Mar 2009 16:28:23 +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: > >> $ make >> >> now I got the error as >> >> gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../Gcc_Source/gcc-4.3.3/libiberty= /../incl >> ude -W -Wall -Wwrite-strings -Wstrict-prototypes -pedantic ../../Gcc_Sou= rce/gc >> c-4.3.3/libiberty/pex-unix.c -o pex-unix.o >=20 >> ./../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c: In function `pex_unix_fd= openw': >> ./../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:518: warning: implicit de= clarati >> on of function `fcntl' >> ./../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:518: error: `F_SETFD' und= eclared >> (first use in this function) >> ./../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:518: error: (Each undecla= red ide >> ntifier is reported only once >> ./../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:518: error: for each func= tion it >> appears in.) >> ./../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:518: error: `FD_CLOEXEC' = undecla >> red (first use in this function) >> >> Can any one help me to fix the issue. > > Just look in which standard C headers for Cygwin these are now > declared, if in any... Then why this headers wasn't seen in the > libiberty/configure. The '$build/libiberty/config.log' should > give some hint... > > > My old Cygwin toolchain had these in 'sys/fcntl.h'... _________________________________________________________________ Twice the fun=97Share photos while you chat with Windows Live Messenger. http://www.microsoft.com/india/windows/windowslive/messenger.aspx