Re: [pcre-dev] coff file info and data

Pàgina inicial
Delete this message
Autor: Philip Hazel
Data:  
A: Craig Silverstein
CC: pcre-dev
Assumpte: Re: [pcre-dev] coff file info and data
On Wed, 2 May 2007, Craig Silverstein wrote:

> Hmm, you may want to consider instead, just adding "-S" to the link
> command in Makefile.am. This is a bit less hacky solution, and
> should provide the same end result (no debugging information in the
> .a/.so). It also keeps the "debug" location for all addresses, making
> it easier to debug pcre with a core file.
>
> -S may be a gnu-ld-specific feature, which means that we may want to
> test for its existence in configure.ac, and only use it (in
> Makefile.am), if ld supports it.


That is what I suspected, which is why I did it differently. I am hoping
that what I did will work with other compilers and linkers.

Philip

--
Philip Hazel, University of Cambridge Computing Service.