This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
another makefile bug - prefix, libiberty, and multilib
- To: egcs-bugs at cygnus dot com
- Subject: another makefile bug - prefix, libiberty, and multilib
- From: Daniel Jacobowitz <drow+ at cs dot cmu dot edu>
- Date: Mon, 16 Nov 1998 02:23:10 -0500
I'm having trouble tracking down a bug with the installation of the nof
(no floating point, -msoft-float libs generated on powerpc) libiberty.
It seems that the libiberty makefile is not passing 'prefix' down to
its subdirectories:
install: /usr/lib/egcs-ss/lib/nof/libiberty.a.n: No such file or directory
make[4]: *** [install_to_libdir] Error 1
make[3]: *** [multi-do] Error 1
make[2]: *** [install_to_libdir] Error 2
make[1]: *** [install-target-libiberty] Error 2
make: *** [install-stamp] Error 2
even though it was invoked as:
make -C builddir prefix=`pwd`/debian/tmp/usr/lib/egcs-ss
Further investigation reveals that libiberty itself gets put in the
right location, but prefix is not set for it. How this happens I can't
quite see; libstdc++ manages just fine, and install-target-libstdc++
and install-target-libiberty are obviously the same.
Also, in a separate problem also visible here, multilib refuses to
create the directories under lib/ which it needs under some conditions
- like this one.
Dan