RE: Help needed to buid GCC for NEC V850

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
 
With Thanks & Regard,
Gowrisankar Loganathan

----------------------------------------
> Date: Mon, 16 Mar 2009 16:28:23 +0200
> From: kai.ruottu@xxxxxxxxxxx
> To: lgowris@xxxxxxxxxxx
> CC: gcc-help@xxxxxxxxxxx
> 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_Source/gc
>> c-4.3.3/libiberty/pex-unix.c -o pex-unix.o
> 
>> ./../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c: In function `pex_unix_fdopenw':
>> ./../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:518: warning: implicit declarati
>> on of function `fcntl'
>> ./../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:518: error: `F_SETFD' undeclared
>> (first use in this function)
>> ./../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:518: error: (Each undeclared ide
>> ntifier is reported only once
>> ./../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:518: error: for each function 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—Share photos while you chat with Windows Live Messenger.
http://www.microsoft.com/india/windows/windowslive/messenger.aspx


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux