libtool hates twiddling

Jonathan Wakely cow@compsoc.man.ac.uk
Mon Jan 14 02:53:00 GMT 2002


On Sun, Jan 13, 2002 at 02:50:06PM -0800, Stan Shebs wrote:

> 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


I see exactly the same problem on i586-pc-linux-gnu, if I use "--prefix=~"
to configure the build.

I've never seen it said that --prefix=~ isn't allowed (although I can see
that if the arg is never interpreted by the shell it won't get expanded) so
is it supposed to work? If not, is there a way to prevent me from using it,
or to make it clear why the build has failed?
It works fine with --prefix=$HOME (obviously, as the shell expands $HOME
before configure sees the argument)

jon


--
Dull but sincere filler



More information about the Libstdc++ mailing list