From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Brad M. Garcia" To: anand@kolmogorov.cog.jhu.edu Cc: egcs@cygnus.com Subject: Re: How to debug code that uses the STL library? Date: Wed, 18 Feb 1998 04:16:00 -0000 Message-id: X-SW-Source: 1998-02/msg00868.html Anand Raman (anand@hebb.cog.jhu.edu) wrote: > Is there a egcs compiler option that says don't compile debug info > into files included from this one? Compile your code with "-fno_implicit_templates -g". In another file, do explicit template instantiations for the templates that you require (if you don't know how to do that, get a c++ book), and compile it _without_ the two flags shown above. Link all files together and you're done. Brad Garcia ___/ __ / __ / ___/ "Being the Linux of digital media __/ / / / _/ __/ would be a very good life." _/ ____/ _/ _| ____/ - Jean-Louis Gassee, CEO of Be, Inc.