I have Mingw in the same PC which compiles all programes corrrectly. ---------------------------------------- > Date: Mon, 16 Mar 2009 17:22:20 +0200 > From: kai.ruottu@xxxxxxxxxxx > To: lgowris@xxxxxxxxxxx > CC: gcc-help@xxxxxxxxxxx > Subject: 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... _________________________________________________________________ So many new options, so little time. Windows Live Messenger. http://www.microsoft.com/india/windows/windowslive/messenger.aspx