From: Brian D. <br...@de...> - 2008-02-23 19:03:33
|
Rolf Ebert wrote: > /k/Data/Development/gcc-cvs/build_native/./prev-gcc/xgcc > -B/k/Data/Development/gcc-cvs/ > build_native/./prev-gcc/ -B/mingw/mingw32/bin/ -g -O2 > -D__USE_MINGW_ACCESS conftest.c >&5 > C:\Programme\msys_1.0\mingw\bin\ld.exe: crt2.o: No such file: No such > file or directory > collect2: ld returned 1 exit status The "-B/mingw/mingw32/bin/" there implies that gcc expects to find its GCC_EXEC_PREFIX at $prefix/$target which is the default in the absense of a sysroot. If you're using Cygwin as a build environment then you can fix this simply by creating the dir $prefix/$target/ which contains 3 symlinks for bin, include, and lib each pointing to ../bin, ../include, and ../lib resp. You also might be able to solve this by configuring --with-sysroot=/mingw but a sysroot for a native compiler bootstrap strikes me as a fundamentally broken idea. Brian |