Re: Help needed to buid GCC for NEC V850

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

 



gowrisankar loganathan wrote:

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.

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 !

A sanity check :

Can your GCC compile and link anything?  For instance the
famous "Hello World" ?  If you cannot do this, how you
could imagine your compiler to succeed in compiling GCC
from its sources ?

Probably it is possible to download and install only the
GCC part but no headers and no libraries for Cygwin...

[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