This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Help needed to buid GCC for NEC V850
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...