pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compiling for debugging



Hello Obata,

> On Tue, 13 Sep 2011 12:55:32 +0900, Stefan Schaeckeler 
> <schaecsn%gmx.net@localhost> wrote:
> 
> > How can I build a package with debugging symbols (e.g. CLFAGS=-g, not 
> > stripped)?
> 
> Generally, put followings to mk.conf:
> 
> CFLAGS+= -g
> INSTALL_UNSTRIPPED= yes
> 
> But some packages may not honor them.

INSTALL_UNSTRIPPED, that's what what I was looking for. The package under 
consideration (net/nload) doesn't seem to honor it and links with gcc -s. 
Nevermind, I'll link it manually.


 Stefan

-- 

Scotty: Captain, we din' can reference it!
Kirk:   Analysis, Mr. Spock?
Spock:  Captain, it doesn't appear in the symbol table.
Kirk:   Then it's of external origin?
Spock:  Affirmative.
Kirk:   Mr. Sulu, go to pass two.
Sulu:   Aye aye, sir, going to pass two.


Home | Main Index | Thread Index | Old Index