[PD-dev] libraries with debug symbols

IOhannes zmölnig zmoelnig at iem.at
Fri Feb 3 17:09:29 CET 2012


On 02/03/2012 01:30 PM, Roman Haefeli wrote:
> Hi 
> 
> Is there a way to compile libraries from svn with debug symbols using
> the template Makefile _without_ editing the Makefile?
> 
> I can pass CFLAGS="-g" to make, but the resulting externals are still
> stripped.
> 

looking at the latest template Makefile, it seems that externals are
only stripped on installation.
if you can live without "make install", you will get un-stripped binaries.

if you cannot live without "make install", setting STRIP to something
harmless should do the trick:
$ make clean
$ make install STRIP=true CFLAGS="-g"

fgmasdr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20120203/f6739c72/attachment.pgp>


More information about the Pd-dev mailing list