Subject: Re: New bsd.lib.mk rules: `.go'?
To: Todd Vierling <tv@pobox.com>
From: Michael Eriksson <eramer@era-t.ericsson.se>
List: tech-toolchain
Date: 09/13/1998 23:09:33
> I'd like to offer the possibility of adding an optional additional type of
> library to be built from the sources iff the option LIBDEBUG (?) is defined
> in mk.conf.
> 
> The object files would be named `name.go', and compiled with the `-g'
> switch, to include debugging info.  The resulting library would be named
> `lib${LIB}_g.a'.
> 
> This would greatly simplify the debugging process for libraries in most
> cases.  It would not be turned on by default or included in release sets
> because the source directory is not necessarily the same for everybody.
> 
> Opinions?

Sounds great! If you (or someone else) then changed gcc/ld so it used
the *_g.a libs (if existant) when compiling with "-g -static" things
would be even better...