From: Douglas C. <tc...@se...> - 2006-04-02 11:20:04
|
Rolf Ebert wrote: > According to gcc PR24382 I provide the absolute path to ld when running > configure. > > ../gcc-4.1.0/configure --enable-languages=c,c++,ada --disable-nls > --disable-fixincludes --enable-threads=win32 --host=mingw32 > --build=mingw32 --target=mingw32 --with-ld=/mingw/bin/ld > --with-as=/mingw/bin/as > > Then I had to patch gcc/Makefile.in. If not, the gcc build cannot find > libiberty.a although I don't build in the source directory: > > around line 80 in gcc/Makefile.in > > # ifeq ($(host_subdir),.) > build_objdir := ../$(build_subdir) > # else > # build_objdir := ../../$(build_subdir) > # endif > > When building the Ada tools the make process cannot find the assembler (or > is it something else?) even though I provide also an absolute path to as. [...] > Has anybody seen this problem before? Any hints how to solve it? I have encountered a similar problem. Try providing complete paths in configure, something like: --with-ld=c:/mingw/bin/ld \ --with-as=c:/mingw/bin/as Doug |