From: Oscar F. <of...@wa...> - 2002-09-26 20:28:03
|
Michael L Torrie <to...@by...> writes: > I just tried to build gcc-3.2 (latest mingw32 src code) in msys on my > windows 2000 box. I am using gcc-3.2 already. I've updated all my > mingw installation packages to the latest version (gcc 3.2, runtime 2.0, > etc). > > It appears that gcc-3.2 *cannot* compile itself. I get the folloing > errors when trying to make (and configuring with the exact output of gcc > -v): > > /home/administrator/gcc-3.2-20020817-1/gcc/xgcc > -B/home/administrator/gcc-3.2-20020817-1/gcc/ -B/mingw/mingw32/bin/ > -B/mingw/mingw32/lib/ -isystem /mingw/mingw32/include -O2 [snip] > In file included from unwind-dw2.c:28: > gthr.h:98:26: gthr-default.h: No such file or directory > make[2]: *** [libgcc/./unwind-dw2.o] Error 1 > make[2]: Leaving directory `/home/administrator/gcc-3.2-20020817-1/gcc' > make[1]: *** [libgcc.a] Error 2 > make[1]: Leaving directory `/home/administrator/gcc-3.2-20020817-1/gcc' > make: *** [all-gcc] Error 2 > > Does anyone have any ideas? Let's try: is MinGW installed on the same drive where you are building gcc? On the x:/mingw directory? (Where x: is the drive letter where everything is installed). Please keep in mind that MinGW is a native Win32 package and it uses Win32 pathnames, while MSYS uses POSIX pathnames plus mount points. If you have MinGW installed on X:/MSYS/1.0/MinGW (like me) you need to pass --prefix=X:/MSYS/1.0/MinGW to 'configure', or simply --prefix=/MSYS/1.0/MinGW if you are building on the same drive where MinGW binaries are. HTH. [snip] -- Oscar |