This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Building GCC

I'm trying to build gcc-2.95.2.

I have gcc-2.95.2.tar.bz2 from
I have gcc-2.95.2-x86-win32-patches.tar.gz.

Patches were applied.


make[2]: Entering directory `/drive/d/gpl/cygwin-gcc-2.95.2/i686-pc-cygwin32/lib
/drive/d/gpl/cygwin-gcc-2.95.2/gcc/xgcc -B/drive/d/gpl/cygwin-gcc-2.95.2/gcc/ -B
/usr/local/i686-pc-cygwin32/bin/ -c -DSkip_f2c_Undefs -I. -I. -I./../libI77 -I..
 -I./..  -DHAVE_CONFIG_H -g -O2 etime_.c
etime_.c:37: windows.h: No such file or directory
make[2]: *** [etime_.o] Error 1
make[2]: Leaving directory `/drive/d/gpl/cygwin-gcc-2.95.2/i686-pc-cygwin32/libf
make[1]: *** [u77] Error 2
make[1]: Leaving directory `/drive/d/gpl/cygwin-gcc-2.95.2/i686-pc-cygwin32/libf
make: *** [all-target-libf2c] Error 2

$ gcc --version

I pasted the command line and tried to invoke it directly with the -v option:

$ /drive/d/gpl/cygwin-gcc-2.95.2/gcc/xgcc -v -B/drive/d/gpl/cygwin-gcc-2.95.2/g
cc/ -B/usr/local/i686-pc-cygwin32/bin/ -c -DSkip_f2c_Undefs -I. -I. -I./../libI
77 -I.. -I./..  -DHAVE_CONFIG_H -g -O2 etime_.c
Reading specs from /drive/d/gpl/cygwin-gcc-2.95.2/gcc/specs
gcc version 2.95.2 19991024 (release)
 /drive/d/gpl/cygwin-gcc-2.95.2/gcc/cpp.exe -lang-c -v -I. -I. -I./../libI77 -I.
. -I./.. -iprefix /drive/d/gpl/cygwin-gcc-2.95.2/gcc/../lib/gcc-lib/i686-pc-cygw
in32/2.95.2/ -isystem /usr/local/i686-pc-cygwin32/bin/include -isystem /drive/d/
gpl/cygwin-gcc-2.95.2/gcc/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -Di386 -D_WIN
32 -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D__c
decl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386__ -D
_WIN32 -D__WINNT__ -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__
)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i
386 -D__WINNT -Asystem(winnt) -Acpu(i386) -Amachine(i386) -D__OPTIMIZE__ -g -rem
ap -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D
__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -D__CYGWIN32__ -D__CYGWIN__ -D
Skip_f2c_Undefs -DHAVE_CONFIG_H etime_.c /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/
GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
End of search list.
The following default directories have been omitted from the search path:
End of omitted list.
etime_.c:20: config.h: No such file or directory
etime_.c:37: windows.h: No such file or directory
In file included from etime_.c:42:
../f2c.h:35: g2c.h: No such file or directory

Ok it's obviously not searching /usr/include/w32api and w32api is definetly
not part of the gcc base so what was the appropriate thing that I missed

Want to unsubscribe from this list?
Check out:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]