Autor: Philip Hazel Data: Para: Craig Silverstein CC: pcre-dev Asunto: 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.