public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: gowrisankar loganathan <lgowris@hotmail.com>
To: <gcc-help@gcc.gnu.org>
Subject: Help needed to buid GCC for NEC V850
Date: Mon, 16 Mar 2009 12:20:00 -0000	[thread overview]
Message-ID: <SNT102-W785CBEFA2FEF340580C357B49B0@phx.gbl> (raw)


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

             reply	other threads:[~2009-03-16 12:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-16 12:20 gowrisankar loganathan [this message]
2009-03-16 14:25 ` Kai Ruottu
2009-03-16 14:59   ` gowrisankar loganathan
2009-03-16 15:18     ` Kai Ruottu
2009-03-17  9:26       ` gowrisankar loganathan
2009-03-17 14:38         ` Kai Ruottu
2009-03-19 15:50           ` Gcc for V850 gowrisankar loganathan
2009-03-19 22:08             ` Jeff Law
2009-03-19 23:23             ` Ian Lance Taylor
2009-03-20  9:06               ` gowrisankar loganathan
2009-03-20 10:23                 ` Kai Ruottu
2009-03-20 14:09                 ` Ian Lance Taylor
2009-03-20 10:45               ` gowrisankar loganathan
2009-03-20 14:38                 ` Ian Lance Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SNT102-W785CBEFA2FEF340580C357B49B0@phx.gbl \
    --to=lgowris@hotmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).