This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]