Re: set_program_name behavior

2009-01-19 Thread Bob Friesenhahn
On Mon, 19 Jan 2009, Ralf Wildenhues wrote: Well, alias lgdb='libtool --mode=execute gdb' is still shorter than what you suggest, but for reference, here's a patch that does what you want. What do the others think, should libtool be lenient here? I don't have a strong preference (sure don't

Re: set_program_name behavior

2009-01-19 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Wed, Jan 14, 2009 at 10:51:46PM CET: > > The removal of */.libs/lt- prefixes is done so that "make check" produces > reliable results, and because the precise location of the executable used > under the hood by libtool is a detail that the user should not know

Re: set_program_name behavior

2009-01-14 Thread Bruno Haible
Hello Sergey, > The behavior of set_program_name differs depending on whether argv[0] > refers to a libtool script (*/.libs/lt-*) or to a usual binary. In the first > case, the function strips off all directory components and the `lt-' > prefix, and assigns the result to program_name. In the secon

set_program_name behavior

2009-01-14 Thread Sergey Poznyakoff
Hello, The behavior of set_program_name differs depending on whether argv[0] refers to a libtool script (*/.libs/lt-*) or to a usual binary. In the first case, the function strips off all directory components and the `lt-' prefix, and assigns the result to program_name. In the second case, however