[PD-dev] libraries with debug symbols

2012-02-03 Thread Roman Haefeli
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.

Roman


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] libraries with debug symbols

2012-02-03 Thread IOhannes zmölnig
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



signature.asc
Description: OpenPGP digital signature
___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev