Subject: Building debuging libraries?
To: None <current-users@NetBSD.ORG>
From: Andrew Cagney <cagney@highland.com.au>
List: current-users
Date: 05/13/1995 14:53:35
Hello,
What is the `correct' way to build debuging versions (ie with -g)
of the libraries?
At first poke around COPTS=-g looked good. However, the mk file
/usr/share/mk/bsd.lib.mk ignores this. My second guess (well
actually first) of CFLAGS='-g -O' isnt any good either, libcurses
wants to add to CFLAGS and this overides it.
Any hints appreciated.
Andrew
PS: Perhaphs this is fixed in more recent *.mk files than 1.0 :-)