This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
libtool hates twiddling
- From: Stan Shebs <shebs at apple dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Sun, 13 Jan 2002 14:50:06 -0800
- Subject: libtool hates twiddling
One of the things that Apple's build&integration people do when
making official builds to go into OS X is to use pathnames with
tildes '~' embedded in them. While this has worked perfectly with
everything for some years, it seems that the libtool in current
libstdc++ has problems with it, complaining about tags:
...
Making all in libmath
/bin/sh ../libtool --mode=compile /Users/shebs/i/gcc/base/x~1/gcc/xgcc -B/Users/shebs/i/gcc/base/x~1/gcc/ -B/usr/local/powerpc-apple-darwin5.1/bin/ -B/usr/local/powerpc-apple-darwin5.1/lib/ -isystem /usr/local/powerpc-apple-darwin5.1/include -DHAVE_CONFIG_H -I. -I../../../../gcc/libstdc++-v3/libmath -I.. -g -c ../../../../gcc/libstdc++-v3/libmath/signbit.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[3]: *** [signbit.lo] Error 1
The problem is easy to reproduce, just name the objdir something
like "x~1" and build in the usual way. It's conceivably specific
to Darwin, I haven't yet tried this on my Linux system. Insights
from libtool whizzes welcome; this is a showstopper for moving to
GCC 3.x in the next version of OS X.
Stan