Closed thepowersgang closed 5 years ago
/home/tpg/Projects/wince_books/ThirdParty/cegcc-build/build-arm-mingw32ce/gcc-bootstrap/./gcc/xgcc -B/home/tpg/Projects/wince_books/ThirdParty/cegcc-build/build-arm-mingw32ce/gcc-bootstrap/./gcc/ -L/home/tpg/Projects/wince_books/ThirdParty/cegcc-build/build-arm-mingw32ce/gcc-bootstrap/arm-mingw32ce/winsup/mingw -L/home/tpg/Projects/wince_books/ThirdParty/cegcc-build/build-arm-mingw32ce/gcc-bootstrap/arm-mingw32ce/winsup/w32api/lib -isystem /home/tpg/Projects/wince_books/ThirdParty/cegcc-build/gcc/winsup/mingw/include -isystem /home/tpg/Projects/wince_books/ThirdParty/cegcc-build/gcc/winsup/w32api/include -B/home/tpg/Projects/wince_books/ThirdParty/prefix/arm-mingw32ce/bin/ -B/home/tpg/Projects/wince_books/ThirdParty/prefix/arm-mingw32ce/lib/ -isystem /home/tpg/Projects/wince_books/ThirdParty/prefix/arm-mingw32ce/include -isystem /home/tpg/Projects/wince_books/ThirdParty/prefix/arm-mingw32ce/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -I. -I. -I../.././gcc -I/home/tpg/Projects/wince_books/ThirdParty/cegcc-build/gcc/libgcc -I/home/tpg/Projects/wince_books/ThirdParty/cegcc-build/gcc/libgcc/. -I/home/tpg/Projects/wince_books/ThirdParty/cegcc-build/gcc/libgcc/../gcc -I/home/tpg/Projects/wince_books/ThirdParty/cegcc-build/gcc/libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -o gthr-win32.o -MT gthr-win32.o -MD -MP -MF gthr-win32.dep -c /home/tpg/Projects/wince_books/ThirdParty/cegcc-build/gcc/libgcc/config/i386/gthr-win32.c /home/tpg/Projects/wince_books/ThirdParty/cegcc-build/gcc/libgcc/config/i386/gthr-win32.c:31:10: fatal error: windows.h: No such file or directory #include <windows.h> ^~~~~~~~~~~ compilation terminated. /home/tpg/Projects/wince_books/ThirdParty/cegcc-build/gcc/libgcc/static-object.mk:17: recipe for target 'gthr-win32.o' failed make: *** [gthr-win32.o] Error 1
From my experiments, a workaround for this is to create a symbolic link from cegcc-build/gcc/winsup/w32api to cegcc-build/w32api. However I don't know the root cause (why gcc is looking in a missing directory for the winapi headers)
cegcc-build/gcc/winsup/w32api
cegcc-build/w32api
From my experiments, a workaround for this is to create a symbolic link from
cegcc-build/gcc/winsup/w32api
tocegcc-build/w32api
. However I don't know the root cause (why gcc is looking in a missing directory for the winapi headers)