On Sun, Nov 05, 2006 at 06:17:12PM +0100, Asger Ottar Alstrup wrote: > Enrico Forestieri wrote: > > The point is that I am not able to link with debug info (-g) as the > > final link stage fails with a "Memory exhausted" error. > > You could try to compile most of the code without debug info, except for > the files you are interested in debugging. Just pass -g to the files you > want to debug, and to the linker, but omit it from all other files you > compile.
This is a good idea, indeed! I'll try it. -- Enrico