Re: libtool searches '.' by default (was: unexpected emergence of --whole-archive)

2009-03-20 Thread Matěj Týč
> > It seems that the current build directory is implicitly passed as an > > -L. flag to the libtool-supervised linker > > No. Well, first off, until this message of yours, I didn't know that > /home/bubla/projects/devil_modular/lib/ was the current build directory. > > Hmm. This line in ltmain

Libtool strips out -tp=k8-32 PGI compiler flag in link mode

2009-03-20 Thread Ethan Mallove
Hello, I am trying to use Libtool with the PGI compilers in 32-bit mode (using the -tp=k8-32 flag). In link mode, Libtool seems to be stripping out the -tp=k8-32 compiler flag, which results in a compiler error: $ make /bin/sh ../../../../libtool --tag=CC --mode=link pgcc -O -DNDEBUG -tp=k8-3