This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
<snip>
./../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'...



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]