On 13 May 2005 17:19:50 -0700, [EMAIL PROTECTED] 
   <[EMAIL PROTECTED]> wrote:

> I've been developing a mathematical library (Open Optimization Library
> - OOL, ool.sourceforge.net) and I employ the GNU tools
> autoconf/automake.

Using libtool or ar?

> The usual is that the library generated is compiled with optimization
> flags and then stripped. To test the library I use a simple program
> that obviously is linked with it. I would like to run DDD on this main
> program but, since the library file is stripped, I cant trace the
> execution into the library's functions.

When is it stripped?  My ones are only stripped when installed (using
"make install-strip"), so my test programs link with the 'local' version
just generated.  However, I use ar rather than libtool, this may be a
difference.

> Is there a way to generate the library file (libool.la) without any
> optimization flag and unstripped?

It sounds as though you need a way to change the build flags so they are
different between 'production' and 'development' versions.  How about
using one of the --with or --enable options to configure to select the
CFLAGS?

Chris C
_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to