Re: Help needed to buid GCC for NEC V850

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

 



gowrisankar loganathan wrote:

I have Mingw in the same PC which compiles all programes corrrectly.

What on earth this note has to do with this build problem?

You configured the GCC for Cygwin $host, not for MinGW $host
('i686-mingw32'). So you MUST have the Cygwin GCC as the 'gcc'
which compiles the GCC sources !

The 'gcc' in your log is the Cygwin GCC ! So it uses its own "Cygwin
target headers" when compiling something for Cygwin :

gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../Gcc_Source/gcc-4.3.3/libiberty/../include
But other headers could be required additionally...

So the 'fcntl.h' should be in your Cygwin target headers in
'/usr/include' or something !

Very simply: If you want the 'v850-elf' target GCC for the
Cygwin $host, then use the Cygwin target GCC with its headers
and libraries! If you want the 'v850-elf' target GCC for the
MinGW $host, then please use the MinGW target GCC with its
headers and libraries! And in this MinGW case also use the
'--host=i686-mingw32' when configuring the GCC...


[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