From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glynn Clements Subject: Re: Debug flag for libraries. Date: Tue, 1 Jul 2003 12:02:30 +0100 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <16129.27206.195388.670340@cerise.nosuchdomain.co.uk> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" To: "Ramanan, Venkat (MED)" Cc: linux-c-programming@vger.kernel.org Ramanan, Venkat (MED) wrote: > I need to compile a program with the debug flag "-g". The program uses > some (static) libraries which have already been compiled without the > "-g" flag. So, if I need all the debugging information ( line numbers > etc. ) even from the libraries, do I need to recompile the libraries? Yes. -- Glynn Clements