Help needed to buid GCC for NEC V850

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

 



Hello All,
        I am trying to build GCC cross compiler for V850, I am using the following files
 
gcc-4.3.3
 
binutils-2.19.1
 
for configuration I used the following options
 
$  ../Gcc_Source/gcc-4.3.3/configure --target=v850-elf --host=i686-pc-cygwin -enable-language=c --prefix=c:/gcc/v850 --with-gnu-as --with-gnuld  --disable-win32-registry
 
after the config I used 
 
$ 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_wait':
../../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:223: warning: implicit declarati
on of function `wait'
../../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c: At top level:
../../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:356: warning: function declarati
on isn't a prototype
../../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c: In function `pex_unix_exec_chil
d':
../../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:375: warning: implicit declarati
on of function `fork'
../../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:378: warning: implicit declarati
on of function `sleep'
../../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:428: warning: passing arg 2 of `
execvp' from incompatible pointer type
../../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:433: warning: passing arg 2 of `
execv' from incompatible pointer type
../../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c: In function `pex_unix_wait':
../../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:484: warning: implicit declarati
on of function `kill'
../../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c: In function `pex_unix_pipe':
../../Gcc_Source/gcc-4.3.3/libiberty/pex-unix.c:502: warning: implicit declarati
on of function `pipe'
../../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)
make[2]: *** [pex-unix.o] Error 1
make[2]: Leaving directory `/cygdrive/c/temp/gcc_Installation/libiberty'
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory `/cygdrive/c/temp/gcc_Installation'
make: *** [all] Error 2
 
 
Can any one help me to fix the issue.
 
 
With Thanks & Regards,
Gowrisankar Loganathan
_________________________________________________________________
Windows Live Messenger. Multitasking at its finest.
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