[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: compiling for debugging
> 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.
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?
Kirk: Mr. Sulu, go to pass two.
Sulu: Aye aye, sir, going to pass two.
Main Index |
Thread Index |