[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debug info format



On Tue, 29 Jan 2002, Daniel Jacobowitz wrote:

> 
> On Mon, Jan 28, 2002 at 05:52:40PM +0200, Alexei Khlebnikov wrote:
> > Hello all.
> > 
> > I have a problem: my shared library cannot be linked, because it's too big (all objs are 140 megs in size). I compile sources with "-g" option. As I understand, g++ produces level 2 debug info in stubs+ format.
> > 
> > I want to use breakpoints and see stack backtraces. Can I switch to level 1 info? (I guess: no.)
> > 
> > What debug info format is smaller and easier (linker consumes less memory) to link?
> 
> Please wrap lines at 72 chars.
> 
> Why can't you link it?  Just because it's big shouldn't stop anything. 
> What platform is this?

I'll second this.  I've linked some large files (circa 500MB) with stabs+
info without a problem.  If you're bent on using stabs and not stabs+,
though, you can compile the files with -gstabs.  See the gcc docs before
doing this, though, as there are some caveats if you're using gdb.

C



Reply to: